Allow deleting requisitions

This commit is contained in:
2023-03-08 15:44:21 +00:00
parent 479e5b1022
commit 144e048d5f
4 changed files with 48 additions and 7 deletions

View File

@@ -30,7 +30,7 @@
<div class="buttons">
<button
hx-headers='{"X-CSRFToken": "{{ csrf_token }}"}'
hx-delete="{# url 'aggregator_delete' type=type pk=item.id #}"
hx-delete="{% url 'req_delete' type=type pk=pk req_id=item.id %}"
hx-trigger="click"
hx-target="#modals-here"
hx-swap="innerHTML"