diff --git a/wagtail/wagtaildocs/templates/wagtaildocs/documents/confirm_delete.html b/wagtail/wagtaildocs/templates/wagtaildocs/documents/confirm_delete.html index 36aa8462f0..d8c9ccedd4 100644 --- a/wagtail/wagtaildocs/templates/wagtaildocs/documents/confirm_delete.html +++ b/wagtail/wagtaildocs/templates/wagtaildocs/documents/confirm_delete.html @@ -1,11 +1,19 @@ {% extends "wagtailadmin/base.html" %} -{% load i18n %} +{% load wagtailadmin_tags i18n %} {% block titletag %}{% blocktrans 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" %}
{% trans "Are you sure you want to delete this document?" %}