{% extends "admin/delete_confirmation.html" %}
{% load i18n static shortcuts %}

{% block shortcuts %}
  {% include "admin/delete_confirmation_shortcuts.html" %}
{% endblock %}

{% block delete_confirm %}
  {% get_shortcuts as shortcuts %}
  <p>{% blocktranslate with escaped_object=object %}Are you sure you want to delete the {{ object_name }} “{{ escaped_object }}”? All of the following related items will be deleted:{% endblocktranslate %}</p>
  {% include "admin/includes/object_delete_summary.html" %}
  <h2>{% translate "Objects" %}</h2>
  <ul id="deleted-objects">{{ deleted_objects|unordered_list }}</ul>
  <form method="post">{% csrf_token %}
  <div>
  <input type="hidden" name="post" value="yes">
  {% if is_popup %}<input type="hidden" name="{{ is_popup_var }}" value="1">{% endif %}
  {% if to_field %}<input type="hidden" name="{{ to_field_var }}" value="{{ to_field }}">{% endif %}
  <input type="submit" value="{% translate 'Yes, I’m sure' %}" data-hotkey="{{ shortcuts.delete_confirmation.confirm_delete.1 }}">
  <a role="button" href="#" class="button cancel-link" data-hotkey="{{ shortcuts.delete_confirmation.cancel_delete.1 }}">{% translate "No, take me back" %}</a>
  </div>
  </form>
{% endblock %}