From 4f47354ca1da60a8a414869b25090ab48bb81846 Mon Sep 17 00:00:00 2001 From: Ross Date: Mon, 20 Oct 2025 14:47:47 +0100 Subject: [PATCH] Add display of related SBA questions in condition detail view --- atlas/templates/atlas/condition_detail.html | 41 +++++++++++++-------- 1 file changed, 25 insertions(+), 16 deletions(-) diff --git a/atlas/templates/atlas/condition_detail.html b/atlas/templates/atlas/condition_detail.html index cc53bf44..c5cbfae3 100755 --- a/atlas/templates/atlas/condition_detail.html +++ b/atlas/templates/atlas/condition_detail.html @@ -62,25 +62,34 @@ {% endif %} - + {% if condition.sbas_questions.all %} +

Related SBA Questions

+ + {% endif %} + + {% if not condition.rcr_curriculum and can_merge %} - -
Merge -Merge this condition into another. This will transfer all associated cases (and differential) but will not transfer synonymns / parents or children. -
- {% csrf_token %} + +
Merge + Merge this condition into another. This will transfer all associated cases (and differential) but will not transfer synonymns / parents or children. + + {% csrf_token %} - {{ form.as_table }} + {{ form.as_table }}
- - -
-
+ + +
+
{% endif %} {% endblock %}