X-Git-Url: https://git.mdrn.pl/koed-quiz.git/blobdiff_plain/5acb6fe123f2007fcb19e1f70dec854e516aaad3..7c0b069529d4c0ebe9c398ac733b445ff24495ad:/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..32518a3 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.text %} +
+ {{ 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 %}