1 {% extends "base.html" %}
4 {% block titleextra %}{{ form.form_title }} :: {% endblock %}
7 <h1>{% block contact_form_title %}{{ form.form_title }}{% endblock %}</h1>
10 {% if not form.started %}
11 {# Not yet started. #}
12 <div class="form-info">
13 {% chunk "contact_form__"|add:form.form_tag|add:"__not_started" %}
16 {# Already started. #}
17 {% if form.limit_reached %}
19 <div class="form-info">
20 {% chunk "contact_form__"|add:form.form_tag|add:"__closed" %}
24 <div class="form-info">
25 {% chunk "contact_form__"|add:form.form_tag|add:"__running" %}
27 <form method="POST" action="." enctype="multipart/form-data" class="submit-form">
30 {% if form.non_field_errors %}<tr><td colspan="2">{{ form.non_field_errors }}</td></tr>{% endif %}
31 {% for field in form.main_fields %}
32 {% include "snippets/field_as_table_row.html" %}
34 {% if form.survey_fields %}
35 <tr><td colspan="2"><h3>{% trans "We would be grateful if you could answer our questions below. This will allow us to better adapt to your expectations in the future." %}</h3></td></tr>
36 {% for field in form.survey_fields %}
37 {% include "snippets/field_as_table_row.html" %}
40 <tr><td colspan="2"></td></tr>
41 {% for field in form.agreement_fields %}
42 {% include "snippets/field_as_table_row.html" %}
44 <tr><td></td><td>{% chunk "contact_form__"|add:form.form_tag|add:"__data_processing" %}</td></tr>
45 <tr><td></td><td><button>{% block contact_form_submit %}{{ form.submit_label }}{% endblock %}</button></td></tr>
51 <script type="text/javascript">
52 var travelGrantCountries = [
53 {% for country in form.travel_grant_countries %}
54 '{{ country }}'{% if not forloop.last %},{% endif %}