-{% extends "contact/form.html" %}
-{% load i18n %}
+{% extends "base.html" %}
+{% load i18n chunks %}
-{% block contact_form_description %}
-{{ block.super }}
+{% block "titleextra" %}{{ form.form_title }} :: {% endblock %}
-{% if form.limit_reached %}
-<p class="warning">{% blocktrans %}Conference registration limit has been reached.
-We are now accepting speaker submissions only.{% endblocktrans %}</p>
-{% endif %}
+{% block "body" %}
+
+ <h1>{% block contact_form_title %}{{ form.form_title }}{% endblock %}</h1>
+
+ <div class="form-info">
+ {% block contact_form_description %}
+ {% chunk "contact_form__"|add:form.form_tag %}
+ {% endblock %}
+ </div>
+
+ {% if form.limit_reached %}
+ <div class="warning">
+ {% chunk "contact_form__"|add:form.form_tag|add:"__full" %}
+ </div>
+ {% else %}
+ <form method="POST" action="." enctype="multipart/form-data" class="submit-form">
+ {% csrf_token %}
+ <table>
+ {{ form.as_table }}
+ <tr><td></td><td><button>{% block contact_form_submit %}{{ form.submit_label }}{% endblock %}</button></td></tr>
+ </table>
+ </form>
+ {% endif %}
{% endblock %}