1 {% extends "base.html" %}
4 {% block "titleextra" %}{{ form.form_title }} :: {% endblock %}
7 <h1>{% block contact_form_title %}{{ form.form_title }}{% endblock %}</h1>
9 <div class="form-info">
10 {% block contact_form_description %}
11 {% chunk "contact_form__"|add:form.form_tag %}
15 {% if not form.started %}
16 {# Not yet started. #}
18 {% chunk "contact_form__"|add:form.form_tag|add:"__not_started" %}
21 {# Already started. #}
22 {% if form.limit_reached and not form.open_call %}
25 {% chunk "contact_form__"|add:form.form_tag|add:"__closed" %}
29 {% if form.limit_reached %}
30 {# Only taking presentation submissions. #}
32 {% chunk "contact_form__"|add:form.form_tag|add:"__presentations_only" %}
35 {% if not form.open_call %}
36 {# Not taking presentations any more. #}
38 {% chunk "contact_form__"|add:form.form_tag|add:"__no_presentations" %}
42 {% chunk "contact_form__"|add:form.form_tag|add:"__running" %}
47 <form method="POST" action="." enctype="multipart/form-data" class="submit-form">
51 <tr><td></td><td><button>{% block contact_form_submit %}{{ form.submit_label }}{% endblock %}</button></td></tr>
57 <script type="text/javascript" src="/static/js/prefill.js"></script>