remove (now) unused td tags
This commit is contained in:
parent
3c859c0931
commit
c2f3db08cd
2 changed files with 1 additions and 5 deletions
|
@ -1,10 +1,6 @@
|
|||
{{- $name := .Get "name" | default "textline" -}}
|
||||
{{- $expr := .Get "expr" | default (printf "data.%s" $name) -}}
|
||||
{{- $default := .Get "default" | default "" -}}
|
||||
{{- $tcells := (and .Parent .Parent.Get "tcells") | default false -}}
|
||||
{{- if $tcells }}<td>{{ end -}}
|
||||
<div v-scope>
|
||||
<pre v-text="{{ $expr }}"></pre>
|
||||
</div>
|
||||
{{- if $tcells }}</td>{{ end -}}
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<template id="{{ $name }}">
|
||||
{{ .Inner }}
|
||||
</template>
|
||||
<tr v-for="row of data[{{ $name }}]">
|
||||
<tr v-for="row in data[{{ $name }}]">
|
||||
<div v-scope="Row({{ $name }}, row)"/>
|
||||
</tr>
|
||||
</table>
|
||||
|
|
Loading…
Add table
Reference in a new issue