{% extends "wagtailadmin/base.html" %} {% load i18n %} {% block titletag %}{% blocktrans with title=page.title %}Delete {{ title }}{% endblocktrans %}{% endblock %} {% block bodyclass %}menu-explorer{% endblock %} {% block content %} {% trans "Delete" as del_str %} {% include "wagtailadmin/shared/header.html" with title=del_str subtitle=page.title %}

{% 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 %}

{% if page.live %}

{% 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.live %}{% trans 'Unpublish it' %}{% endif %}
{% endblock %}