X-Git-Url: https://git.mdrn.pl/koed-quiz.git/blobdiff_plain/0d65ebcaa43bc65b0a51eb2db693cd94598b10c7..10dda5cd1e5bd650c06d5629dd56160ea446082a:/apps/quiz/templates/quiz/question_detail.html diff --git a/apps/quiz/templates/quiz/question_detail.html b/apps/quiz/templates/quiz/question_detail.html index c74742c..48e595b 100755 --- a/apps/quiz/templates/quiz/question_detail.html +++ b/apps/quiz/templates/quiz/question_detail.html @@ -11,9 +11,11 @@

{{ question.title }}

-
-{{ question.text|safe }} -
+{% if question.test %} +
+ {{ question.text|safe }} +
+{% endif %}
@@ -33,9 +35,9 @@ {% else %} {% if valid_url %} - {% trans "Back to my test" %} + {% trans "Back to my test" %} {% else %} - {% trans "Start from the beginning" %} + {% trans "Start from the beginning" %} {% endif %} {% endif %} @@ -43,9 +45,11 @@
-
-{{ question.description|safe }} -
+{% if question.description %} +
+ {{ question.description|safe }} +
+{% endif %} {% endblock %}