This commit is contained in:
Ross
2021-07-29 20:14:39 +01:00
parent adcdd4782b
commit f99adbe391
+1 -3
View File
@@ -6,11 +6,9 @@
<h3>Candidate: {{ cid }}</h3>
Answers:
<ul>
{% for question, ans in answers_and_marks %}
{% for question, a, score, correct_answer in answers_and_marks %}
<li class="user-answer-li">Question {{forloop.counter}} - {{ question.stem }}</li>
{% for a, score, correct_answer in ans %}
<span>Correct answer: {{correct_answer}} <br />{{a}} <span class="answer-{{score}}">(Score: {{score}})</span></span>
{% endfor %}
{% endfor %}
</ul>
<br /> Total mark: {{ total_score }} / {{max_score}}