Skip to content
Snippets Groups Projects
Commit 780dd9b0 authored by Jonathan Weth's avatar Jonathan Weth :keyboard: Committed by root
Browse files

Merge pull request #227 from Katharineum/feature/hide-faq

Hide Faqs, if they aren't published
parents de8501f5 ccb322ee
No related branches found
No related tags found
1 merge request!86Merge school-apps
......@@ -9,6 +9,7 @@
<ul class="collapsible">
{% for question in section.questions.all %}
{% if question.show %}
<li>
<div class="collapsible-header flow-text">
<i class="material-icons">
......@@ -24,6 +25,7 @@
{{ question.answer_text|safe }}
</div>
</li>
{% endif %}
{% endfor %}
</ul>
</section>
......@@ -39,4 +41,4 @@
</a>
</p>
</main>
{% include 'partials/footer.html' %}
\ No newline at end of file
{% include 'partials/footer.html' %}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment