pinax/documents/folder_confirm_delete.html

{% extends "pinax/documents/base.html" %}

{% block body_class %}{{ block.super }} pinax-documents-folder-delete{% endblock %}

{% load i18n bootstrap %}

{% block head_title %}Confirm Delete: {{ folder.name }}{% endblock %}

{% block body %}
<div class="pinax-documents-folder-delete-container">
    <h2>{{ folder.name }}</h2>

    {% include "pinax/documents/_breadcrumbs.html" with member=folder %}

    <div class="delete-folder-warning" role="alert">
        {% trans "Are you sure you want to delete this folder and all of it's contents?" %}
    </div>

    {% include "pinax/documents/_member_table.html" with members=folder.members %}

    {% url member.delete_url as post_url %}

    <form action="{{ post_url }}" method="POST">
        {% csrf_token %}
        <div class="form-actions">
            <a href="{% url "pinax_documents:document_index" %}" class="cancel">{% trans "Cancel" %}</a>
            <button>{% trans "Delete" %}</button>
        </div>
    </form>
</div>
{% endblock %}