Sending keys wip: up to point of actually sending an email
[edumed.git] / contact / templates / contact / form.html
1 {% extends form.base_template|default:"base.html" %}
2 {% load chunks %}
3
4 {% block title %}{{ form.form_title }}{% endblock %}
5
6 {% block body %}
7
8     <h1>{% block contact_form_title %}{{ form.form_title }}{% endblock %}</h1>
9
10     <div class="form-info">
11     {% block contact_form_description %}
12         {% chunk "contact_form__"|add:form.form_tag %}
13     {% endblock %}
14     </div>
15
16     <form method="POST" action="." enctype="multipart/form-data" class="submit-form">
17     {% csrf_token %}
18     <table>
19         {{ form.as_table }}
20         <tr><td></td><td><button>{% block contact_form_submit %}{{ form.submit_label }}{% endblock %}</button></td></tr>
21     </table>
22     </form>
23
24 {% endblock %}