Make verse numbers, footnote anchors, themes, dynamic inserts unselectable. Fixes...
[wolnelektury.git] / src / wolnelektury / templates / forms / includes / built_form.html
index 4a8807f..34d0273 100644 (file)
@@ -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>