This commit is contained in:
Ross
2021-10-16 17:15:13 +01:00
parent e320561060
commit 1e0d905aa1
+10 -9
View File
@@ -54,15 +54,16 @@
{% for question in questions %} {% for question in questions %}
<tr> <tr>
<td><a href="{% url 'rapids:mark' exam_pk=exam.pk sk=forloop.counter0 %}">Question {{forloop.counter}}</a></td> <td><a href="{% url 'rapids:mark' exam_pk=exam.pk sk=forloop.counter0 %}">Question {{forloop.counter}}</a></td>
{% if question.normal %} <td>
[N] {% if question.normal %}
{% else %} [N]
[A] {% else %}
{% endif %} [A]
</td> {% endif %}
{% for ans, score in by_question|get_item:question %} </td>
<td class="rapid-ans user-answer-score-{{score}}" title="answer score: {{score}}">{{ans}}</td> {% for ans, score in by_question|get_item:question %}
{% endfor %} <td class="rapid-ans user-answer-score-{{score}}" title="answer score: {{score}}">{{ans}}</td>
{% endfor %}
</tr> </tr>
{% endfor %} {% endfor %}
<tr> <tr>