statedefinitions delete now uses correct id
This commit is contained in:
parent
814f28bbd7
commit
852bf75846
|
@ -107,7 +107,7 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="modal-footer">
|
<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 %}
|
{% csrf_token %}
|
||||||
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">
|
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">
|
||||||
{% trans "Cancel" %}
|
{% trans "Cancel" %}
|
||||||
|
|
Loading…
Reference in a new issue