This commit is contained in:
Ross
2020-12-14 14:25:53 +00:00
parent 7ddea6df99
commit f65fa3c65f
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -6,8 +6,8 @@
{% if unmarked %}
The following questions need marking
{% for question in unmarked %}
<a href="{% url 'anatomy:mark' exam.pk question.pk %}">{{ exam|get_question_index:question }}</a>
{% for question, exam_index in unmarked %}
<a href="{% url 'anatomy:mark' exam.pk exam_index %}">{{ exam_index }}</a>
{% endfor %}
{% endif %}