{% 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 %}
{% trans "There were some errors with your form. Please amend the fields highlighted below" %}
{% if form.non_field_errors %} {% endif %}
{% endif %}
{% if page.end_date %}

{% trans "Next deadline" %}: {{ page.end_date }}

{% 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%} {% if page.get_parent.specific.guide_link %} {% trans "Application guide" %} {% endif %}
{{ form.media }} {% csrf_token %} {% for field in form %} {% if field.field %} {% if field.field.multi_input_field %} {% include "forms/includes/multi_input_field.html" with is_application=True %} {% else %} {% include "forms/includes/field.html" with is_application=True %} {% endif %} {% else %} {% if field.group_number > 1 %}
{{ field.block }}
{% else %} {{ field.block }} {% endif %} {% endif %} {% endfor %} {# Hidden fields needed e.g. for django-file-form. See `StreamBaseForm.hidden_fields` #} {% for hidden_field in form.hidden_fields %} {{ hidden_field }} {% endfor %}

{% trans "You must have Javascript enabled to use this form." %}

{% endif %}
{% endblock %} {% block extra_js %} {% if not show_all_group_fields %} {% endif %} {% endblock %}