2013-05-22 10:07:54 +00:00
{% extends "admin2/bootstrap/base.html" %}
2013-06-14 13:58:27 +00:00
{% load admin2_tags i18n %}
2013-05-25 14:52:58 +00:00
2013-06-03 20:28:41 +00:00
{% block title %}Are you sure?{% endblock title %}
2013-05-25 14:52:58 +00:00
2013-06-03 20:28:41 +00:00
{% block page_title %}Are you sure?{% endblock page_title %}
2013-05-25 14:52:58 +00:00
2013-06-14 13:58:27 +00:00
{% block breadcrumbs %}
2013-06-24 15:25:42 +00:00
< 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 class = "active" > {% trans "Delete" %}< / li >
2013-06-14 13:58:27 +00:00
{% endblock breadcrumbs %}
2013-05-22 10:07:54 +00:00
{% block content %}
2013-05-25 14:52:58 +00:00
< p > {% blocktrans with objects_name=objects_name %}Are you sure you want to delete the selected {{ objects_name }}? All of the following items will be deleted:{% endblocktrans %}< / p >
2013-05-22 10:07:54 +00:00
< ul >
2013-06-24 15:25:42 +00:00
{{ deletable_objects|unordered_list }}
2013-05-22 10:07:54 +00:00
< / ul >
< form method = "post" >
2013-06-24 15:25:42 +00:00
{% csrf_token %}
< input type = "hidden" name = "confirmed" value = "yes" / >
< input type = "hidden" name = "action" value = "DeleteSelectedAction" / >
{% for item in queryset %}
< input type = "hidden" name = "selected_model_pk" value = "{{ item.pk }}" / >
{% endfor %}
< button class = "btn btn-small btn-danger" type = "submit" > {% trans "Yes, I'm sure" %}< / button >
2013-05-22 10:07:54 +00:00
< / form >
{% endblock content %}