{{ $form := .Page.Params.contactForm }}
{{ range $form.fields }}
{{ if eq .type "textarea" }} {{ else }} {{ end }}
{{ end }}