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
cef827f
..
91bc886
100644
(file)
--- a/
src/wolnelektury/templates/forms/includes/built_form.html
+++ b/
src/wolnelektury/templates/forms/includes/built_form.html
@@
-15,21
+15,12
@@
</div>
{% if form_published %}
</div>
{% if form_published %}
- {% if request.EXPERIMENTS.layout.value %}
{{ 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>
- {% endif %}
- {% else %}
- <p class="l-change-pop show">FORMULARZ ZAMKNIĘTY</p>
+ <p class="l-change-pop show">{% trans "FORMULARZ ZAMKNIĘTY" %}</p>
{% endif %}
{% endif %}