Refactor image annotation help section for improved readability and conditional rendering

This commit is contained in:
Ross
2026-02-16 10:35:28 +00:00
parent 647081a7d6
commit 726057b51e
@@ -16,6 +16,7 @@
<div class="small">If important markers or arrows are not burned onto the image, please add annotations using the image annotation tool and click <em>Save Annotations</em>. Please note not all questions required image annotations in which case you can ignore this message.</div>
</div>
{% endif %}
{% if can_edit %}
<div class="mt-3 align-items-start">
<div class="col" style="min-width:0;">
<details class="mb-0">
@@ -25,16 +26,15 @@
</div>
<div class="col-auto">
<div class="d-flex gap-2">
{% if can_edit %}
<button id="save-annotations" class="btn btn-sm btn-primary">Save Annotations</button>
<button id="delete-annotations" class="btn btn-sm btn-outline-danger">Delete Annotations</button>
</div>
</div>
</div>
{% endif %}
</div>
</div>
</div>
</div>
</div>
</div>
<div class="col-12 col-lg-6">
<div class="card">