Fix URL for editing display set in modal

This commit is contained in:
Ross
2026-02-09 10:56:37 +00:00
parent 035da12e96
commit ea139456a8
@@ -2,7 +2,7 @@
<div class="mb-3">
<h5>{{ ds.name }}</h5>
{% if can_edit %}
<a href="{% url 'atlas:case_displaysets_edit' ds.pk %}" class="btn btn-sm btn-outline-secondary ms-2">Edit display set</a>
<a href="{% url 'atlas:case_displaysets' ds.case.pk %}?displayset={{ ds.pk }}&edit=true" class="btn btn-sm btn-outline-secondary ms-2">Edit display set</a>
{% endif %}
{% if ds.description %}
<div class="text-muted">{{ ds.description }}</div>