mirror of
https://github.com/Bornholm/formidable.git
synced 2024-12-25 00:09:35 +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}}
|