Skip to content
Snippets Groups Projects
Commit a4785356 authored by jan.bednarik's avatar jan.bednarik
Browse files

elections2021: FAQ switch only if necessary

parent c8ac7d80
No related branches found
No related tags found
2 merge requests!233Release,!232Volby
...@@ -9,12 +9,16 @@ ...@@ -9,12 +9,16 @@
<section class="py-16"> <section class="py-16">
<div class="para">{{ page.intro|richtext }}</div> <div class="para">{{ page.intro|richtext }}</div>
<div class="text-center py-16"> {% if page.myths and page.elections %}
<div id="progamswitch" class="switch mb-4"> <div class="text-center py-16">
<a id="switch_myths" class="switch__item switch__item--active">mýty o koalici</a> <div id="progamswitch" class="switch mb-4">
<a id="switch_elections" class="switch__item">otázky k volbám</a> <a id="switch_myths" class="switch__item switch__item--active">mýty o koalici</a>
<a id="switch_elections" class="switch__item">otázky k volbám</a>
</div>
</div> </div>
</div> {% else %}
<div class="text-center py-8"></div>
{% endif %}
{% if page.myths %} {% if page.myths %}
<div id="faq_myths" class="space-y-1 faq-accordeon"> <div id="faq_myths" class="space-y-1 faq-accordeon">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment