add function to get exam index from list
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
{% if unmarked %}
|
||||
The following questions need marking
|
||||
{% for question in unmarked %}
|
||||
<a href="{% url 'anatomy:mark' exam.pk question.pk %}">{{question.pk}}</a>
|
||||
<a href="{% url 'anatomy:mark' exam.pk question.pk %}">{{ exam|get_question_index:question }}</a>
|
||||
{% endfor %}
|
||||
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user