{% extends "wagtailadmin/base.html" %} {% load wagtailadmin_tags i18n %} {% block titletag %}{% blocktrans trimmed with title=document.title %}Delete {{ title }}{% endblocktrans %}{% endblock %} {% block content %} {% trans "Delete document" as del_str %} {% include "wagtailadmin/shared/header.html" with title=del_str subtitle=document.title icon="doc-full-inverse" %}
{% blocktrans trimmed count usage_count=document.get_usage.count %}Used {{ usage_count }} time{% plural %}Used {{ usage_count }} times{% endblocktrans %}

{# This message will only appear in the singular, but we specify a plural so it can share the translation string with confirm_bulk_delete.html #} {% blocktrans trimmed count counter=1 %} Are you sure you want to delete this document? {% plural %} Are you sure you want to delete these documents? {% endblocktrans %}

{% csrf_token %} {% trans "No, don't delete" %}
{% endblock %}