{% extends "base.html" %}
-{% load i18n %}
+{% load i18n chunks %}
+
+{% block "titleextra" %}{{ form.form_title }} :: {% endblock %}
+
{% block "body" %}
- <h1>{% block contact_form_title %}{% trans "Contact form" %}{% endblock %}</h1>
+ <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>
{% csrf_token %}
<table>
{{ form.as_table }}
- <tr><td></td><td><button>{% block contact_form_submit %}{% trans "Submit" %}{% endblock %}</button></td></tr>
+ <tr><td></td><td><button>{% block contact_form_submit %}{{ form.submit_label }}{% endblock %}</button></td></tr>
</table>
</form>