X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/a4d28c35907d5b4e4a3c4bd0ae289d00afdec69d..5fb53c16b8de6efee032dea734dd9047f33d3d54:/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..46d24ccdd 100644
--- 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 more %}
 
 <h1>{{ form.title }}</h1>
 
-    <div class="form-info">
-	{{ form.intro|safe }}
+    <div class="form-info" style="margin-bottom:2em;">
+	{{ form.intro|first_part:"---"|safe }}
     </div>
 
     {{ form_for_form.media }}
@@ -12,7 +13,13 @@
     {% 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>
 
+
+    <div class="form-info" style="margin-top:2em;">
+	{{ form.intro|second_part:"---"|safe }}
+    </div>