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

10 lines
267 B
Cheetah
Raw Permalink Normal View History

2022-03-22 09:21:55 +01:00
{{define "form_input"}}
{{ if .Schema.Types }}
{{ $root := . }}
{{range .Schema.Types}}
{{ $inputBlock := printf "%s_%s" "form_input" . }}
{{ include $inputBlock $root }}
{{end}}
{{ else }}
{{ end }}
{{end}}