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,6 +1,6 @@
<div class="card">
<div class="card-body">
<form hx-post="{% url 'generic:generic_exam_json_edit' %}" hx-target="#action-result" hx-swap="innerHTML">
<form hx-post="{% url 'generic:generic_exam_htmx' %}" hx-target="#action-result" hx-swap="innerHTML">
<input type="hidden" name="type" value="{{ type }}" />
<div class="mb-2">
<label for="id_exam_id">Choose exam</label>