X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/a4d28c35907d5b4e4a3c4bd0ae289d00afdec69d..563c90a339a486a4bb748bff8663587a3a9c54a3:/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 4a8807f17..34d0273f6 100644
--- 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 }}
-        <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>