fnp
/
prawokultury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Changing registration form.
[prawokultury.git]
/
contact
/
templates
/
contact
/
form.html
diff --git
a/contact/templates/contact/form.html
b/contact/templates/contact/form.html
index
8c1a256
..
29fdfa8
100644
(file)
--- a/
contact/templates/contact/form.html
+++ b/
contact/templates/contact/form.html
@@
-1,11
+1,15
@@
{% extends "base.html" %}
{% extends "base.html" %}
-{% load i18n %}
+{% load i18n chunks %}
+
+{% block "titleextra" %}{{ form.form_title }} :: {% endblock %}
+
{% block "body" %}
{% 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 %}
<div class="form-info">
{% block contact_form_description %}
+ {% chunk "contact_form__"|add:form.form_tag %}
{% endblock %}
</div>
{% endblock %}
</div>
@@
-13,7
+17,7
@@
{% csrf_token %}
<table>
{{ form.as_table }}
{% 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>
</table>
</form>