fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Split form intro.
[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
..
aaf4ade
100644
(file)
--- a/
src/wolnelektury/templates/forms/includes/built_form.html
+++ b/
src/wolnelektury/templates/forms/includes/built_form.html
@@
-1,9
+1,10
@@
{% load honeypot %}
{% load honeypot %}
+{% load more %}
<h1>{{ form.title }}</h1>
<div class="form-info">
<h1>{{ form.title }}</h1>
<div class="form-info">
- {{ form.intro|safe }}
+ {{ form.intro|
first_part:"---"|
safe }}
</div>
{{ form_for_form.media }}
</div>
{{ form_for_form.media }}
@@
-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">
+ {{ form.intro|second_part:"---"|safe }}
+ </div>