fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add chunk under forms.
[wolnelektury.git]
/
src
/
wolnelektury
/
templates
/
forms
/
includes
/
built_form.html
diff --git
a/src/wolnelektury/templates/forms/includes/built_form.html
b/src/wolnelektury/templates/forms/includes/built_form.html
index
4a8807f
..
009bc5f
100644
(file)
--- a/
src/wolnelektury/templates/forms/includes/built_form.html
+++ b/
src/wolnelektury/templates/forms/includes/built_form.html
@@
-1,4
+1,5
@@
{% load honeypot %}
{% load honeypot %}
+{% load chunks %}
<h1>{{ form.title }}</h1>
<h1>{{ form.title }}</h1>
@@
-12,7
+13,13
@@
{% render_honeypot_field %}
<table>
{{ form_for_form.as_table }}
{% render_honeypot_field %}
<table>
{{ form_for_form.as_table }}
- <tr><td></td><td><button>{{ form.button_text }}</button></td></tr>
+ {% if form_for_form.fields %}
+ <tr><td></td><td><button>{{ form.button_text }}</button></td></tr>
+ {% endif %}
</table>
</form>
</table>
</form>
+
+ <div class="form-info">
+ {% chunk 'formularz_'|add:form.slug %}
+ </div>