mirror of
https://github.com/Bornholm/formidable.git
synced 2024-12-30 18:49:33 +01:00
11 lines
307 B
Cheetah
11 lines
307 B
Cheetah
|
{{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}}
|