Enhance candidate lists by restructuring HTML for improved readability and maintainability.

This commit is contained in:
Ross
2026-01-05 11:55:03 +00:00
parent 459b7f9b93
commit ba0c380f18
2 changed files with 46 additions and 46 deletions
@@ -1,6 +1,6 @@
{% comment %} Partial: list of CID candidates for HTMX swap {% endcomment %}
{% if cid_users %}
<ul class="list-group list-group-flush">
<ul class="list-group list-group-flush">
{% for cid in cid_users %}
<li class="list-group-item">
<div class="d-flex align-items-start justify-content-between">
@@ -26,7 +26,7 @@
</div>
</li>
{% endfor %}
</ul>
</ul>
{% else %}
<p class="text-muted">This exam has no CID candidates.</p>
{% endif %}
@@ -1,6 +1,6 @@
{% comment %} Partial: list of User candidates for HTMX swap {% endcomment %}
{% if user_users %}
<ul class="list-group list-group-flush">
<ul class="list-group list-group-flush">
{% for user in user_users %}
<li class="list-group-item d-flex justify-content-between align-items-start">
<div>
@@ -21,7 +21,7 @@
<div class="badge-container d-flex align-items-center ms-3"></div>
</li>
{% endfor %}
</ul>
</ul>
{% else %}
<p class="text-muted">This exam has no User candidates.</p>
{% endif %}