Add HTMX support for exam selection and update related templates and views

This commit is contained in:
Ross
2025-10-20 21:12:42 +01:00
parent d342e7e047
commit 66711f5c15
7 changed files with 103 additions and 25 deletions
+1 -1
View File
@@ -21,7 +21,7 @@
</div>
<div class="btn-group" role="group">
<button id="button-select-add-exam" class="btn btn-outline-primary btn-sm"
hx-get="{% url 'generic:generic_exam_json_edit' %}?type={{ app_name }}"
hx-get="{% url 'generic:generic_exam_htmx' %}?type={{ app_name }}"
hx-target="#action-result"
hx-swap="innerHTML">Add to exam</button>
</div>