X-Git-Url: https://git.mdrn.pl/koed-quiz.git/blobdiff_plain/2c2b8f122dd789a089ac5054e112f59874c01a70..5acb6fe123f2007fcb19e1f70dec854e516aaad3:/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 b739a98..c74742c 100755 --- a/apps/quiz/templates/quiz/question_detail.html +++ b/apps/quiz/templates/quiz/question_detail.html @@ -2,35 +2,40 @@ {% load i18n %} {% load url from future %} + +{% block "title" %}{{ question.quiz.name }}{% endblock %} +{% block "header" %}{{ question.quiz.name }}{% endblock %} + + {% block "body" %} -

{{ question.title }}

+

{{ question.title }}

-{{ question.text }} +{{ question.text|safe }}
-
+ {% csrf_token %} {{ form.answer.errors }} {{ form.answer }} {% if valid %} - + {% if previous_url %} - {% trans "Back to last question" %} + {% trans "Back to last question" %} {% endif %} {% 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 %} @@ -38,8 +43,8 @@
-
-{{ question.description }} +
+{{ question.description|safe }}