{{define "block_form"}}

{{.Title}}

{{if .Subtitle}}

{{.Subtitle}}

{{end}}
{{range .Form.Fields}}
{{if eq .Type "text"}} {{else if eq .Type "password"}} {{else if eq .Type "textarea"}} {{else if eq .Type "select"}} {{else if eq .Type "toggle"}} {{end}} {{if .Hint}}
{{.Hint}}
{{end}}
{{end}}
{{if .Form.Notes}}
{{range .Form.Notes}}
{{.}}
{{end}}
{{end}}
{{if .Form.PrimaryLabel}}{{end}} {{if .Form.SecondaryLabel}}{{end}}
{{end}}