mirror of
https://github.com/Bornholm/formidable.git
synced 2024-12-23 23:39:33 +01:00
10 lines
267 B
Cheetah
10 lines
267 B
Cheetah
{{define "form_input"}}
|
|
{{ if .Schema.Types }}
|
|
{{ $root := . }}
|
|
{{range .Schema.Types}}
|
|
{{ $inputBlock := printf "%s_%s" "form_input" . }}
|
|
{{ include $inputBlock $root }}
|
|
{{end}}
|
|
{{ else }}
|
|
{{ end }}
|
|
{{end}} |