{% extends "beam/base.html" %} {% load beam_tags %} {% load i18n %} {% block body_classes %}{{ block.super }} beam-delete{% if component.model %}{% get_options component.model as options %} beam-delete-{{ options.app_label }}-{{ options.model_name }}{% endif %}{% endblock %} {% block content %}
{% block heading %}

{% if heading %}{{ heading }}{% else %} {% get_options component.model as options %} {% blocktrans %}Delete {{ object }}{% endblocktrans %} {{ options.verbose_name|capfirst }} {% endif %}

{% endblock %} {% if protected_objects %}

{% blocktrans with object_name=object_name %}You can't delete {{ object_name }} because the following objects depend on it:{% endblocktrans %}

{% else %}

{% blocktrans with object_name=object_name %}Are you sure you want to delete {{ object_name }}?{% endblocktrans %}

{% if nested_objects|length > 1 %}

{%trans "The following objects will also be deleted:" %}

{% endif %}
{% csrf_token %} {{ form.as_p }}
{% endif %}
{% endblock %}