From: Radek Czajka Date: Fri, 28 Oct 2022 08:57:08 +0000 (+0200) Subject: Layout: forms. X-Git-Url: https://git.mdrn.pl/wolnelektury.git/commitdiff_plain/7bc61c00286672b6d39f6e45ed948b2c858cc2de?hp=9c2555ad140dca1c09cde628bd22aac811e05b7e Layout: forms. --- diff --git a/src/experiments/templates/experiments/main_switch.html b/src/experiments/templates/experiments/main_switch.html index 2f866bce5..c02ca488a 100644 --- a/src/experiments/templates/experiments/main_switch.html +++ b/src/experiments/templates/experiments/main_switch.html @@ -9,8 +9,10 @@ {% for exp in request.EXPERIMENTS.values %} -
- {{ exp.name }} +
+ + {{ exp.name }} + + {% endif %} + {% else %} - {{ form_for_form.as_table }} - {% if form_for_form.fields %} - - {% endif %} + {{ form_for_form.as_table }} + {% if form_for_form.fields %} + + {% endif %}
- + {% endif %} -
- {{ form.intro|second_part:"---"|safe }} -
+
+ {{ form.intro|second_part:"---"|safe }} +
+