Fix hx-post URL in prior card template for correct case number handling
This commit is contained in:
@@ -27,7 +27,7 @@
|
||||
{% if not added %}
|
||||
<form class="row g-2"
|
||||
{% if case_number %}
|
||||
hx-post="{% url 'atlas:collection_case_priors' collection.id case_number=case_number %}"
|
||||
hx-post="{% url 'atlas:collection_case_priors' collection.id case_number %}"
|
||||
{% else %}
|
||||
hx-post="{% url 'atlas:collection_case_priors_legacy' collection.id casedetail.case.pk %}"
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user