Add empty case handling for differentials in partial template

This commit is contained in:
Ross
2026-04-13 14:32:33 +01:00
parent c0870a8765
commit f47f408cce
@@ -5,6 +5,8 @@
<ul>
{% for diff in case.differentialcase.all %}
<li>{{diff.condition.get_link}} - {{diff.text}}</li>
{% empty %}
<span class="text-muted">No differentials added for this case.</span>
{% endfor %}
</ul>
</details>