Swap modals with innerHTML
This commit is contained in:
@@ -25,7 +25,8 @@
|
||||
hx-headers='{"X-CSRFToken": "{{ csrf_token }}"}'
|
||||
hx-get="{% url 'hook_update' type=type pk=item.hook.id %}"
|
||||
hx-trigger="click"
|
||||
hx-target="#{{ type }}s-here">{{ item.hook.name }}
|
||||
hx-target="#{{ type }}s-here"
|
||||
hx-swap="innerHTML">{{ item.hook.name }}
|
||||
</a>
|
||||
</td>
|
||||
<td>{{ item.title }}</td>
|
||||
|
||||
Reference in New Issue
Block a user