Add all model fields to callbacks

This commit is contained in:
2022-10-16 14:37:49 +01:00
parent 97d12b0fab
commit 5a7332eb96
9 changed files with 66 additions and 20 deletions

View File

@@ -6,9 +6,9 @@
<form
hx-headers='{"X-CSRFToken": "{{ csrf_token }}"}'
{% if hook_id is not None %}
hx-put="{% url 'hook_action' hook_id %}"
hx-put="{% url 'hook_action' type=type hook_id=hook_id %}"
{% else %}
hx-put="{% url 'hook_action' %}"
hx-put="{% url 'hook_action' type=type %}"
{% endif %}
hx-target="#hooks-table"
hx-swap="outerHTML">