X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/b89ddf83530285bc57f8c176089cbb769ffe953b..af339a5c1a69ec22a6f1d5940cde313953948368:/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 009bc5f76..85d1e62f8 100644 --- a/src/wolnelektury/templates/forms/includes/built_form.html +++ b/src/wolnelektury/templates/forms/includes/built_form.html @@ -1,25 +1,34 @@ {% load honeypot %} -{% load chunks %} +{% load more %} +

{{ form.title }}

-
- {{ form.intro|safe }} -
+{{ form_for_form.media }} +
+ {% csrf_token %} + {% render_honeypot_field %} + +
+ {{ form.intro|first_part:"---"|safe }} +
- {{ form_for_form.media }} - - {% csrf_token %} - {% render_honeypot_field %} + {% if request.EXPERIMENTS.layout.value %} + {{ form_for_form.as_p }} + {% if form_for_form.fields %} + + {% endif %} + {% else %} - {{ form_for_form.as_table }} - {% if form_for_form.fields %} - - {% endif %} + {{ form_for_form.as_table }} + {% if form_for_form.fields %} + + {% endif %}
-
+ {% endif %} -
- {% chunk 'formularz_'|add:form.slug %} -
+
+ {{ form.intro|second_part:"---"|safe }} +
+