This commit is contained in:
Ross
2021-08-11 23:30:57 +01:00
parent a029d96f86
commit 626e82339f
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -43,7 +43,7 @@
</div>
<div>
<a href="{% url 'longs:exam_question_detail' exam.id forloop.counter0 %}"
title="View the question">View</a> <a href="{% url 'longs:long_update' question.id %}"
title="View the question">View</a> / <a href="{% url 'longs:long_update' question.id %}"
title="Edit the question">Edit</a>
</div>
</li>
+2 -2
View File
@@ -12,12 +12,12 @@
<span>Marking CID: {{answer.cid}} ({{unmarked|length}} answer(s) left to mark)</span>
<div>
<details open>
<details open title="click to view/hide the mark scheme">
<summary>Mark Scheme</summary>
{{ question.mark_scheme | safe}}
</details>
</div>
<details open>
<details open title="click to view/hide user answers">
<summary>User answers</summary>
<div>
<div class="long-answer">
+1 -1
View File
@@ -637,7 +637,7 @@ def loadJsonAnswer(answer):
@login_required
@user_is_long_checker
#@reversion.create_revision()
@reversion.create_revision()
def mark_answer(request, pk, sk, tk):
exam = get_object_or_404(Exam, pk=pk)