allow rodering questions

This commit is contained in:
Ross
2024-08-28 18:59:35 +01:00
parent 0054d832cd
commit 98d45fbdfc
3 changed files with 28 additions and 8 deletions
@@ -107,6 +107,14 @@ Author(s): {% for author in exam.author.all %}
{{ author }}{% if not forloop.last %}, {% endif %}
{% endfor %}<br/>
<details>
<summary>Extra</summary>
<button title="This will clear all user answers and attempts"
hx-post="{% url exam.get_app_name|add:':order_questions' exam.pk %}"
hx-swap="outerHTML"
>Order questions</button>
</details>
{% block css %}
<style>
.answer-management[open] {