Implement question review flow with category and status filters; add templates for review start, question display, and completion

This commit is contained in:
Ross
2025-10-27 10:21:07 +00:00
parent ec45464e58
commit 8380ca1dd9
8 changed files with 236 additions and 34 deletions
@@ -4,7 +4,6 @@
hx-swap="innerHTML"
class="w-100">
{% csrf_token %}
<div class="row g-2 align-items-start">
<div class="col-auto">
<label class="form-label mb-1">Status</label>
@@ -22,16 +21,16 @@
{% endif %}
</div>
<div class="col">
<div class="col-md-12 mt-2">
<label for="{{ form.comment.id_for_label }}" class="form-label mb-1">Comment</label>
{{ form.comment }}
{% if form.comment.errors %}
<div class="invalid-feedback d-block">{{ form.comment.errors|join:", " }}</div>
{% endif %}
</div>
<div class="col-auto d-flex align-items-end">
<button class="btn btn-primary" type="submit">Save</button>
</div>
</div>
<div class="col-auto d-flex align-items-end mt-2">
<button class="btn btn-primary" type="submit">Save</button>
</div>
</div>
</form>
@@ -1,9 +0,0 @@
{% extends 'sbas/base.html' %}
{% load partials %}
{% block content %}
Test
{% endblock %}