mirror of
https://github.com/jazzband/django-admin2.git
synced 2026-03-17 14:40:27 +00:00
30 lines
1.2 KiB
HTML
30 lines
1.2 KiB
HTML
{% extends "admin2/bootstrap/base.html" %}
|
|
{% load admin2_tags i18n %}
|
|
|
|
{% block title %}{% trans "Are you sure?" %}{% endblock title %}
|
|
|
|
{% block page_title %}{% trans "Are you sure?" %}{% endblock page_title %}
|
|
|
|
{% block breadcrumbs %}
|
|
<li><a href="{% url "admin2:dashboard" %}">Home</a> <span class="divider">/</span></li>
|
|
<li><a href="{% url "admin2:app_index" app_label=app_label %}">{{ app_label|title }}</a> <span class="divider">/</span></li>
|
|
<li><a href="{% url view|admin2_urlname:"index" %}">{{ model_name_pluralized|title }}</a> <span class="divider">/</span></li>
|
|
<li><a href="{% url view|admin2_urlname:"detail" pk=object.pk %}">{{ object }}</a> <span class="divider">/</span></li>
|
|
<li class="active">{% trans "Delete" %}</li>
|
|
{% endblock breadcrumbs %}
|
|
|
|
{% block content %}
|
|
|
|
<p>{% blocktrans with model_name=model_name object=object %}Are you sure you want to delete the {{ model_name }} "{{ object }}"? All of the following items will be deleted:{% endblocktrans %}</p>
|
|
|
|
<ul>
|
|
{{ deletable_objects|unordered_list }}
|
|
</ul>
|
|
|
|
<form method="post">
|
|
{% csrf_token %}
|
|
{{ form.as_p }}
|
|
<button class="btn btn-small btn-danger" type="submit">{% trans "Yes, I'm sure" %}</button>
|
|
</form>
|
|
|
|
{% endblock content %}
|