{% extends 'utilities/confirmation_form.html' %}
{% load form_helpers %}

{% block title %}Delete {{ obj_type_plural|default:"objects" }}?{% endblock %}

{% block message %}
    <p>
        Are you sure you want to delete these {{ selected_objects|length }} {{ obj_type_plural|default:"objects" }}{% if parent_obj %} from <a href="{{ parent_obj.get_absolute_url }}">{{ parent_obj }}</a>{% endif %}?
    </p>
    <ul>
        {% for obj in selected_objects %}
            {% if obj.get_absolute_url %}
                <li><a href="{{ obj.get_absolute_url }}">{{ obj }}</a></li>
            {% else %}
                <li>{{ obj }}</li>
            {% endif %}
        {% endfor %}
    </ul>
{% endblock %}
