1
0
Fork 0
forked from goffee/core

main #6

Merged
diana merged 69 commits from goffee/core:main into main 2025-08-26 13:39:09 -04:00
Showing only changes of commit 259f2f4b79 - Show all commits

View file

@ -7,7 +7,7 @@
</thead>
<tbody>
{{- range .AllTD}}<tr scope="row">
{{range $index, $item := .}}<td {{ if $item.ID }}id="{{$item.ID}}"{{end}}>
{{range $index, $item := .}}<td {{ if $item.ID }}id="{{$item.ID}}"{{end}}{{ if $item.ValueClass }} class="{{$item.ValueClass}}"{{end}}>
{{ with $x := index $.AllTH $index }}
{{ if eq $x.ValueType "href"}}
{{template "content_href" $item.Value}}
@ -18,7 +18,7 @@
{{ else if eq $x.ValueType "checkbox"}}
{{template "form_checkbox" $item.Value}}
{{ else if eq $x.ValueType "image"}}
<img src="{{ $item.Value }}"{{ if $item.ValueClass }} class="{{$item.ValueClass}}"{{end}}>
<img src="{{ $item.Value }}">
{{ else }}
{{ $item.Value }}
{{end}}