.
This commit is contained in:
@@ -6,11 +6,9 @@
|
|||||||
<h3>Candidate: {{ cid }}</h3>
|
<h3>Candidate: {{ cid }}</h3>
|
||||||
Answers:
|
Answers:
|
||||||
<ul>
|
<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>
|
<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>
|
<span>Correct answer: {{correct_answer}} <br />{{a}} <span class="answer-{{score}}">(Score: {{score}})</span></span>
|
||||||
{% endfor %}
|
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
<br /> Total mark: {{ total_score }} / {{max_score}}
|
<br /> Total mark: {{ total_score }} / {{max_score}}
|
||||||
|
|||||||
Reference in New Issue
Block a user