From ba0c380f1833e2665b595a114de63eeb4887a226 Mon Sep 17 00:00:00 2001 From: Ross Date: Mon, 5 Jan 2026 11:55:03 +0000 Subject: [PATCH] Enhance candidate lists by restructuring HTML for improved readability and maintainability. --- .../generic/partials/exam_cids_cid_list.html | 50 +++++++++---------- .../generic/partials/exam_cids_user_list.html | 42 ++++++++-------- 2 files changed, 46 insertions(+), 46 deletions(-) diff --git a/generic/templates/generic/partials/exam_cids_cid_list.html b/generic/templates/generic/partials/exam_cids_cid_list.html index d5940ace..1b175710 100644 --- a/generic/templates/generic/partials/exam_cids_cid_list.html +++ b/generic/templates/generic/partials/exam_cids_cid_list.html @@ -1,32 +1,32 @@ {% comment %} Partial: list of CID candidates for HTMX swap {% endcomment %} {% if cid_users %} - + + {% endfor %} + {% else %}

This exam has no CID candidates.

{% endif %} diff --git a/generic/templates/generic/partials/exam_cids_user_list.html b/generic/templates/generic/partials/exam_cids_user_list.html index 590d89ce..714b6332 100644 --- a/generic/templates/generic/partials/exam_cids_user_list.html +++ b/generic/templates/generic/partials/exam_cids_user_list.html @@ -1,27 +1,27 @@ {% comment %} Partial: list of User candidates for HTMX swap {% endcomment %} {% if user_users %} - +
+ + {% endfor %} + {% else %}

This exam has no User candidates.

{% endif %}