formidable/internal/server/template/blocks/form_input.html.tmpl
2022-05-03 18:04:11 +02:00

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