This commit is contained in:
Ross
2021-08-31 20:18:19 +01:00
parent 713f2e01fe
commit 5a599b1fe1
+10 -9
View File
@@ -4,8 +4,8 @@
<a href="{% url 'longs:exam_question_detail' exam.id question_details.current %}" title="View the Question">View</a>
<a href="{% url 'longs:long_update' question.id %}" title="Edit the Question">Edit</a> <a
href="{% url 'admin:longs_long_change' question.id %}" title="Edit the Question using the admin interface">Admin
Edit</a> <a
href="{% url 'admin:longs_ciduseranswer_change' answer.id %}" title="Edit the user answer using the admin interface">Admin
Edit</a> <a href="{% url 'admin:longs_ciduseranswer_change' answer.id %}"
title="Edit the user answer using the admin interface">Admin
Edit (user answer)</a>
<h2>Marking question <a href="{% url 'longs:mark' exam.id question_details.current|add:'-1' %}"
title="View question answers">{{question_details.current}}</a> of {{question_details.total}}</h2>
@@ -14,6 +14,11 @@
<div>
<details open title="click to view/hide the mark scheme">
<summary>Mark Scheme</summary>
{{ question.mark_scheme | safe}}
</details>
</div>
<details closed title="click to view/hide the question details">
<summary>Question Details</summary>
<p class="pre-whitespace"><b>Description:</b> {{ question.description }}</p>
<p class="pre-whitespace"><b>History:</b> {{ question.history }}</p>
@@ -33,12 +38,7 @@
</span>
{% endfor %}
</div>
</details>
</div>
<details closed title="click to view/hide the question details">
<summary>Question Details</summary>
{{ question.mark_scheme | safe}}
</details>
</details>
<details open title="click to view/hide user answers">
<summary>User answers</summary>
<div>
@@ -75,7 +75,8 @@
<!-- <button type="submit" name="skip" class="save btn btn-default">Skip</button> -->
{% else %}
{% if not unmarked %}
Success! Marking question complete. <a href="{% url 'longs:mark_overview' pk=exam.pk %}">Return to marking overview</a>
Success! Marking question complete. <a href="{% url 'longs:mark_overview' pk=exam.pk %}">Return to marking
overview</a>
{% endif %}
{% endif %}
</form>