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" -}}
|
{{- $name := .Get "name" | default "textline" -}}
|
||||||
{{- $expr := .Get "expr" | default (printf "data.%s" $name) -}}
|
{{- $expr := .Get "expr" | default (printf "data.%s" $name) -}}
|
||||||
{{- $default := .Get "default" | default "" -}}
|
{{- $default := .Get "default" | default "" -}}
|
||||||
{{- $tcells := (and .Parent .Parent.Get "tcells") | default false -}}
|
|
||||||
{{- if $tcells }}<td>{{ end -}}
|
|
||||||
<div v-scope>
|
<div v-scope>
|
||||||
<pre v-text="{{ $expr }}"></pre>
|
<pre v-text="{{ $expr }}"></pre>
|
||||||
</div>
|
</div>
|
||||||
{{- if $tcells }}</td>{{ end -}}
|
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<template id="{{ $name }}">
|
<template id="{{ $name }}">
|
||||||
{{ .Inner }}
|
{{ .Inner }}
|
||||||
</template>
|
</template>
|
||||||
<tr v-for="row of data[{{ $name }}]">
|
<tr v-for="row in data[{{ $name }}]">
|
||||||
<div v-scope="Row({{ $name }}, row)"/>
|
<div v-scope="Row({{ $name }}, row)"/>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
|
Loading…
Add table
Reference in a new issue