Add debug logging for POST requests in generic_exam_htmx and update exam selection form to include checked selections
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user