allow resenting of exam answers
This commit is contained in:
@@ -36,6 +36,23 @@ Exam mode: {{ exam.exam_mode }}<br />
|
||||
{% if exam.exam_mode %}
|
||||
Cid candidates: <a href="{{exam.get_cid_edit_url}}">{{candidate_count.0}}</a>, User candidates: <a href="{{exam.get_user_edit_url}}">{{candidate_count.1}}</a><br />
|
||||
{% endif %}
|
||||
|
||||
<details>
|
||||
<summary>Answer management</summary>
|
||||
|
||||
<div class="alert alert-danger">
|
||||
<p>Manage answers for this collection. </p>
|
||||
|
||||
Please note these are permanant and cannot be undone.
|
||||
</div>
|
||||
|
||||
<button title="This will clear all user answers and attempts"
|
||||
hx-post="{% url exam.get_app_name|add:':exam_reset_answers' exam.pk %}"
|
||||
hx-swap="outerHTML"
|
||||
>Reset all answers</button>
|
||||
|
||||
</details>
|
||||
|
||||
Open access: {{ exam.open_access }}<br />
|
||||
|
||||
{% if exam.start_date %}
|
||||
@@ -66,3 +83,5 @@ Open access: {{ exam.open_access }}<br />
|
||||
Author(s): {% for author in exam.author.all %}
|
||||
{{ author }}{% if not forloop.last %}, {% endif %}
|
||||
{% endfor %}<br/>
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user