fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix
[wolnelektury.git]
/
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
85d1e62
..
91bc886
100644
(file)
--- 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 honeypot %}
{% load more %}
+{% load i18n %}
<h1>{{ form.title }}</h1>
<h1>{{ form.title }}</h1>
@@
-13,18
+14,13
@@
{{ form.intro|first_part:"---"|safe }}
</div>
{{ 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 %}
{{ 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 %}
{% endif %}