diff --git a/physics/templates/physics/exam_scores_user.html b/physics/templates/physics/exam_scores_user.html index 8c544a49..c5cc2d1b 100644 --- a/physics/templates/physics/exam_scores_user.html +++ b/physics/templates/physics/exam_scores_user.html @@ -9,7 +9,7 @@
    {% for q, a, score, correct_answer in ans %}
  1. - {{q|safe}}: {% if exam.publish_results %}Correct answer: {{correct_answer}}{% endif %} + {{q|safe}}: {% if exam.publish_results %}Correct answer: {{correct_answer|safe}}{% endif %}
    {% if exam.publish_results %} diff --git a/physics/templates/physics/exam_take_overview.html b/physics/templates/physics/exam_take_overview.html index c9123643..7094547b 100644 --- a/physics/templates/physics/exam_take_overview.html +++ b/physics/templates/physics/exam_take_overview.html @@ -9,11 +9,17 @@

    Exam: {{exam.name}}

    - {% comment %} {% if exam.publish_results %} -
    -

    {{exam.name}}: Question [{{pos|add:1}}/{{exam_length}}]

    +

    {{exam.name}}: Question [{{pos|add:1}}/{{exam_length}}]

    {% if exam.publish_results %} -