X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/7bc61c00286672b6d39f6e45ed948b2c858cc2de..50aec69a46276ec94d7d4d2ab3c59bc383d07a2c:/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 85d1e62f8..91bc886c4 100644 --- a/src/wolnelektury/templates/forms/includes/built_form.html +++ b/src/wolnelektury/templates/forms/includes/built_form.html @@ -1,5 +1,6 @@ {% load honeypot %} {% load more %} +{% load i18n %} <h1>{{ form.title }}</h1> @@ -13,18 +14,13 @@ {{ form.intro|first_part:"---"|safe }} </div> - {% if request.EXPERIMENTS.layout.value %} + {% if form_published %} {{ form_for_form.as_p }} {% if form_for_form.fields %} <button>{{ form.button_text }}</button> {% endif %} {% else %} - <table> - {{ form_for_form.as_table }} - {% if form_for_form.fields %} - <tr><td></td><td><button>{{ form.button_text }}</button></td></tr> - {% endif %} - </table> + <p class="l-change-pop show">{% trans "FORMULARZ ZAMKNIÄTY" %}</p> {% endif %}