mirror of
https://github.com/ae-utbm/sith.git
synced 2025-07-11 12:29:24 +00:00
15 lines
512 B
Django/Jinja
15 lines
512 B
Django/Jinja
<div id="student_card_form">
|
|
<form hx-post="{{ action }}" hx-swap="outerHTML" hx-target="#student_card_form">
|
|
{% csrf_token %}
|
|
<p>{% trans obj=object %}Are you sure you want to delete "{{ obj }}"?{% endtrans %}</p>
|
|
<input type="submit" value="{% trans %}Confirm{% endtrans %}" />
|
|
<input
|
|
hx-get="{{ action_cancel }}"
|
|
hx-swap="outerHTML"
|
|
hx-target="#student_card_form"
|
|
type="submit"
|
|
name="cancel"
|
|
value="{% trans %}Cancel{% endtrans %}"
|
|
/>
|
|
</form>
|
|
</div> |