X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/a4d28c35907d5b4e4a3c4bd0ae289d00afdec69d..a98d18bc92d7d28d54c0cc1c1a636c9d79e6a648:/src/wolnelektury/templates/forms/includes/built_form.html?ds=sidebyside diff --git a/src/wolnelektury/templates/forms/includes/built_form.html b/src/wolnelektury/templates/forms/includes/built_form.html index 4a8807f17..cef827f50 100644 --- a/src/wolnelektury/templates/forms/includes/built_form.html +++ b/src/wolnelektury/templates/forms/includes/built_form.html @@ -1,18 +1,39 @@ {% load honeypot %} +{% load more %} +{% load i18n %} +

{{ 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 form_published %} + {% if request.EXPERIMENTS.layout.value %} + {{ form_for_form.as_p }} + {% if form_for_form.fields %} + + {% endif %} + {% else %} - {{ form_for_form.as_table }} + {{ form_for_form.as_table }} + {% if form_for_form.fields %} + {% endif %}
-
+ {% endif %} + {% else %} +

FORMULARZ ZAMKNIĘTY

+ {% endif %} + +
+ {{ form.intro|second_part:"---"|safe }} +
+