Refactor exam review fragment inclusion to support app-specific templates and improve HTMX handling

This commit is contained in:
Ross
2025-11-09 21:41:02 +00:00
parent 2142749db6
commit fd8edd3cc3
9 changed files with 260 additions and 3 deletions
@@ -6,7 +6,10 @@
<div id="review-root">
{# The #review-content element is replaced by HTMX when navigating between questions. #}
<div id="review-content">
{% include 'generic/partials/exam_review_question_fragment.html' %}
{# The view selects an app-specific fragment if present and passes its name
in `fragment_template`. Include that fragment here so the full-page
render and the HTMX partials both use the same template. #}
{% include fragment_template %}
</div>
</div>
</div>