2013-05-22 10:07:54 +00:00
|
|
|
{% extends "admin2/bootstrap/base.html" %}
|
2013-05-25 17:44:48 +00:00
|
|
|
{% load i18n %}
|
2013-05-22 10:07:54 +00:00
|
|
|
{% block content %}
|
|
|
|
|
|
2013-05-25 17:44:48 +00:00
|
|
|
<p>{% blocktrans with objects_name=objects_name %}Are you sure you want to delete the selected {{ objects_name }}?{% endblocktrans %}</p>
|
2013-05-22 10:07:54 +00:00
|
|
|
|
|
|
|
|
<ul>
|
|
|
|
|
{% for item in queryset %}
|
|
|
|
|
<li>{{ item }}</li>
|
|
|
|
|
{% endfor %}
|
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
|
|
<form method="post">
|
|
|
|
|
{% csrf_token %}
|
|
|
|
|
<input type="hidden" name="confirmed" value="yes" />
|
|
|
|
|
<input type="hidden" name="action" value="delete_selected" />
|
|
|
|
|
{% for item in queryset %}
|
2013-05-24 11:06:35 +00:00
|
|
|
<input type="hidden" name="selected_model_pk" value="{{ item.pk }}" />
|
2013-05-22 10:07:54 +00:00
|
|
|
{% endfor %}
|
|
|
|
|
<input type="submit"/>
|
|
|
|
|
</form>
|
|
|
|
|
|
|
|
|
|
{% endblock content %}
|