X-Git-Url: https://git.mdrn.pl/koed-quiz.git/blobdiff_plain/5acb6fe123f2007fcb19e1f70dec854e516aaad3..30eda91159999122d1106432f7f56d4dbc5a07c7:/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..c219434 100755 --- a/apps/quiz/templates/quiz/question_detail.html +++ b/apps/quiz/templates/quiz/question_detail.html @@ -1,4 +1,4 @@ -{% extends "base.html" %} +{% extends "quiz/base.html" %} {% load i18n %} {% load url from future %} @@ -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 %}