{% extends template %} {% load i18n %} {% load finchtags %} {% block content %}

{% trans "Delete Page" %}

{% if page.is_root %}

{% trans "You can't delete a root page."%} {% trans "Back" %}

{% else %}
{% csrf_token %}

{% blocktrans with page.title as title and page.get_absolute_url as url %} Are your sure you want to delete the page: `{{ title }}` ( {{ url }} ) and all underlying pages?{% endblocktrans %}

{% spaceless %}{% for p, structure in tree|tree_info %} {% if structure.new_level %}{% endfor %} {% endfor %}{% endspaceless %}
{% trans 'Cancel' %}
{% endif %} {% endblock %}