{% extends "base.html" %} {% load wagtailcore_tags static i18n util_tags %} {# Dont include fixed apply button on this page #} {% block apply_button %}{% endblock %} {% block header_modifier %}header--light-bg{% endblock %} {% block content %} {% if form.errors or form.non_field_errors %}
There were some errors with your form. Please amend the fields highlighted below
{% if form.non_field_errors %} {% endif %}
{% endif %}
{% if not page.open_round and not page.start_date and not request.is_preview %} {# the page has no open rounds and we arent on a round page #}

{% blocktrans %}Sorry this {{ page|verbose_name }} is not accepting applications at the moment{% endblocktrans %}

{% else%}
{{ form.media }} {% csrf_token %} {% for field in form %} {% if field.field %} {% include "forms/includes/field.html" with is_application=True %} {% else %} {% if field.group_number > 1 %}
{{ field }}
{% else %} {{ field }} {% endif %} {% endif %} {% endfor %}
{% endif %}
{% endblock %} {% block extra_js %} {% if not show_all_group_fields %} {% endif %} {% endblock %}