2024-01-17 16:25:42 -05:00
|
|
|
{% extends 'generic/_base.html' %}
|
2022-02-08 10:56:48 -05:00
|
|
|
{% load helpers %}
|
2016-05-12 15:46:02 -04:00
|
|
|
{% load form_helpers %}
|
2023-07-29 03:30:25 +07:00
|
|
|
{% load i18n %}
|
2016-05-12 15:46:02 -04:00
|
|
|
|
2022-02-08 10:56:48 -05:00
|
|
|
{% comment %}
|
2024-05-02 17:02:51 -04:00
|
|
|
Blocks:
|
|
|
|
- title: Page title
|
|
|
|
- content: Primary page content
|
|
|
|
|
2022-02-08 10:56:48 -05:00
|
|
|
Context:
|
2024-05-02 17:02:51 -04:00
|
|
|
- object: Python instance of the object being deleted
|
|
|
|
- form: The delete confirmation form
|
|
|
|
- form_url: URL for form submission (optional; defaults to current path)
|
|
|
|
- return_url: The URL to which the user is redirected after submitting the form
|
2022-02-08 10:56:48 -05:00
|
|
|
{% endcomment %}
|
|
|
|
|
2023-08-02 14:53:32 -04:00
|
|
|
{% block title %}
|
|
|
|
{% trans "Delete" %} {{ object|meta:"verbose_name" }}?
|
|
|
|
{% endblock %}
|
2016-05-12 15:46:02 -04:00
|
|
|
|
2022-01-05 11:23:11 -05:00
|
|
|
{% block content %}
|
|
|
|
<div class="modal" tabindex="-1" style="display: block; position: static">
|
|
|
|
<div class="modal-dialog">
|
2024-04-05 14:22:09 -04:00
|
|
|
<div class="modal-content border-1 border-danger">
|
2022-01-05 11:23:11 -05:00
|
|
|
{% include 'htmx/delete_form.html' %}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% endblock %}
|