{% extends "admin/base_site.html" %}
{% load i18n %}

{% block breadcrumbs %}
<div class="breadcrumbs">
     <a href="../../">{% trans "Home" %}</a> &rsaquo;
     <a href="../">{{ app_label|capfirst }}</a> &rsaquo;
     <a href="./">{{ opts.verbose_name_plural|capfirst }}</a> &rsaquo;
     {% trans 'Censor multiple objects' %}
</div>
{% endblock %}

{% block content %}
    <p>{% blocktrans %}Are you sure you want to censor the selected {{ object_name }} objects? This cannot be reversed.{% endblocktrans %}</p>
    <ul>
        {% for obj in queryset %}
            <li>{{ obj }}</li>
        {% endfor %}
    </ul>
    <form action="" method="post">{% csrf_token %}
    <div>
        <p>
            <label for="censored_url">Explanation URL (optional):</label>
            <input type="text" id="censored_url" name="censored_url" size="70">
        </p>
        {% for obj in queryset %}
            <input type="hidden" name="{{ action_checkbox_name }}" value="{{ obj.pk }}" />
        {% endfor %}
        <input type="hidden" name="action" value="censor_selected" />
        <input type="hidden" name="post" value="yes" />
        <input type="submit" value="{% trans "Yes, I'm sure" %}" />
    </div>
    </form>
{% endblock %}
