add img and class to table template, new responnse buffer inline

This commit is contained in:
Zeni Kim 2025-03-27 12:12:49 -05:00
parent 1a39c666a3
commit db3c510f9a
3 changed files with 17 additions and 4 deletions

View file

@ -16,7 +16,9 @@
{{ else if eq $x.ValueType "list"}}
{{template "content_list" $item.Value}}
{{ else if eq $x.ValueType "checkbox"}}
{{template "form_checkbox" $item.Value}}
{{template "form_checkbox" $item.Value}}
{{ else if eq $x.ValueType "image"}}
<img src="{{ $item.Value }}"{{ if $item.ValueClass }} class="{{$item.ValueClass}}"{{end}}>
{{ else }}
{{ $item.Value }}
{{end}}