Add debug logging for POST requests in generic_exam_htmx and update exam selection form to include checked selections

This commit is contained in:
Ross
2025-10-20 21:20:32 +01:00
parent ae644f9c03
commit bad0d400a7
2 changed files with 5 additions and 1 deletions
@@ -1,6 +1,9 @@
<div class="card">
<div class="card-body">
<form hx-post="{% url 'generic:generic_exam_htmx' %}" hx-target="#action-result" hx-swap="innerHTML">
<form hx-post="{% url 'generic:generic_exam_htmx' %}"
hx-target="#action-result" hx-swap="innerHTML"
hx-include="[name='selection']:checked"
>
<input type="hidden" name="type" value="{{ type }}" />
<div class="mb-2">
<label for="id_exam_id">Choose exam</label>