statedefinitions delete now uses correct id

This commit is contained in:
Thomas Nahuel Rusiecki 2024-12-11 17:18:58 -03:00
parent 814f28bbd7
commit 852bf75846

View file

@ -107,7 +107,7 @@
</div>
</div>
<div class="modal-footer">
<form method="post" action="{% url 'admin:delete_state_definition' state_definition.order %}">
<form method="post" action="{% url 'admin:delete_state_definition' state_definition.pk %}">
{% csrf_token %}
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">
{% trans "Cancel" %}