fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
paypal
[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
..
34d0273
100644
(file)
--- a/
src/wolnelektury/templates/forms/includes/built_form.html
+++ b/
src/wolnelektury/templates/forms/includes/built_form.html
@@
-12,7
+12,9
@@
{% 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>