X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/0a637ce4b427eb7376f3902ab0e51cf274a8b1da..59b18d2848d2561f1547b78921936a501d0f0b37:/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 34d0273f6..91bc886c4 100644 --- a/src/wolnelektury/templates/forms/includes/built_form.html +++ b/src/wolnelektury/templates/forms/includes/built_form.html @@ -1,20 +1,30 @@ {% 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 }} +
+ + {% if form_published %} + {{ form_for_form.as_p }} + {% if form_for_form.fields %} + + {% endif %} + {% else %} +

{% trans "FORMULARZ ZAMKNIĘTY" %}

+ {% endif %} - {{ form_for_form.media }} - - {% csrf_token %} - {% render_honeypot_field %} - - {{ form_for_form.as_table }} - {% if form_for_form.fields %} - - {% endif %} -
-
+
+ {{ form.intro|second_part:"---"|safe }} +
+