add img and class to table template, new responnse buffer inline
This commit is contained in:
parent
1a39c666a3
commit
db3c510f9a
3 changed files with 17 additions and 4 deletions
|
|
@ -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}}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue