{% extends "wagtailadmin/base.html" %} {% load i18n wagtailadmin_tags %} {% block titletag %}{% blocktrans with title=page.title %}Delete {{ title }}{% endblocktrans %}{% endblock %} {% block content %} {% trans "Delete" as del_str %} {% include "wagtailadmin/shared/header.html" with title=del_str subtitle=page.title icon="doc-empty-inverse" %}

{% trans 'Are you sure you want to delete this page?' %} {% if descendant_count %} {% blocktrans count counter=descendant_count %} This will also delete one more subpage. {% plural %} This will also delete {{ descendant_count }} more subpages. {% endblocktrans %} {% endif %}

{% page_permissions page as page_perms %} {% if page_perms.can_unpublish %}

{% trans "Alternatively you can unpublish the page. This removes the page from public view and you can edit or publish it again later." %}

{% endif %}
{% csrf_token %} {% if page_perms.can_unpublish %}{% trans 'Unpublish it' %}{% endif %}
{% endblock %}