Add all model fields to callbacks
This commit is contained in:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user