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

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}}