{{ form_anchor = anchor ?? 'form' }}
{{ if heading }}

{{ heading }}

{{ /if }} {{ if intro }}

{{ intro }}

{{ /if }} {{ form:create :in="form:handle" redirect="{current_uri}#{form_anchor}" error_redirect="{current_uri}#{form_anchor}" class="mt-10" }} {{ if success }}

{{ success_heading ?? 'Thank you!' }}

{{ success_text }}

{{ else }}
{{ if errors }} {{ /if }}
{{ fields }}{{ partial:forms/field :field_options="options" }}{{ /fields }}
{{# Honeypot: hidden from people, irresistible to spam bots #}}

Fields marked with an asterisk are required.

{{ /if }} {{ /form:create }}
{{ if aside_heading || aside_text }} {{ /if }}