mirror of
https://github.com/ae-utbm/sith.git
synced 2026-08-31 09:39:15 +00:00
Migrate to HTMX4
This commit is contained in:
@@ -1,5 +1,10 @@
|
||||
<div id="student_card_form">
|
||||
<form hx-post="{{ action }}" hx-swap="outerHTML" hx-target="#student_card_form">
|
||||
<form
|
||||
hx-post="{{ action }}"
|
||||
hx-swap="outerHTML"
|
||||
hx-target="#student_card_form"
|
||||
hx-disable="input[type='submit']"
|
||||
>
|
||||
{% csrf_token %}
|
||||
<p>{% trans obj=object %}Are you sure you want to delete "{{ obj }}"?{% endtrans %}</p>
|
||||
<input type="submit" value="{% trans %}Confirm{% endtrans %}" />
|
||||
|
||||
Reference in New Issue
Block a user