formidable/internal/server/template/blocks/form_item.html.tmpl

11 lines
307 B
Cheetah
Raw Normal View History

2022-03-22 09:21:55 +01:00
{{define "form_item"}}
<table width="100%">
<tbody>
{{ $root := .}}
{{ range $property, $schema := .Schema.Properties}}
{{ $formItemData := formItemData $root $property $schema }}
{{template "form_row" $formItemData}}
{{end}}
</tbody>
</table>
{{end}}