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">
31 <tr><td></td><td><button>{% block contact_form_submit %}{{ form.submit_label }}{% endblock %}</button></td></tr>
37 <script type="text/javascript" src="/static/js/prefill.js"></script>