{% extends "base.html" %} {% load wagtailimages_tags wagtailcore_tags static core_tags gem_tags %} {% block content %}

{{ page.introduction }}

{% csrf_token %} {% for field in form %} {% if field|fieldtype != 'HiddenInput' %} {% if field|fieldtype == 'CheckboxInput' %}
{% elif field|fieldtype == 'CheckboxSelectMultiple' %}
{% for value, text in field.field.choices %}
{% endfor %}
{% elif field|fieldtype == 'RadioSelect' %}
{% for value, text in field.field.choices %}
{% endfor %}
{% elif field|fieldtype == 'Select' %}
{% else %}
{% if field.help_text %} {% if field|fieldtype == 'CharacterCountWidget' %}

{{ field.help_text }}

{% else %}

{{ field.help_text }}

{% endif %} {% endif %} {{field}}
{% endif %} {% if field.errors %}
    {% for error in field.errors %}
  • {{ error }}
  • {% endfor %}
{% endif %} {% endif %} {% endfor %} {% if not fields_step or fields_step and fields_step.number == 1 %} {% endif %}
{% if fields_step and fields_step.paginator.num_pages > 1 %}

{% with page=fields_step.number pages=fields_step.paginator.num_pages %} {% trans "Page" %} {{page}} {% trans "of" %} {{pages}} {% endwith %}

{% endif %} {% if page.terms_and_conditions.exists and page.terms_and_conditions.first.terms_and_conditions.live %} {% endif %}
{% if self.description %}
{% for block in self.description %} {% if forloop.counter %} {% if block.block_type == 'heading' %}

{{ block.value }}

{% else %} {{ block }} {% endif %} {% endif %} {% endfor %}
{% endif %}
{% endblock %}