fix
[wolnelektury.git] / src / wolnelektury / templates / forms / includes / built_form.html
index cef827f..91bc886 100644 (file)
   </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 %}