{% extends 'textdocs/base.html' %}
{% block content %}
    <div class="card">
        <div class="card-body">
            <h2 class="card-title">Confirm Deletion</h2>
            <p>Are you sure you want to delete the document titled "<strong>{{ document.title }}</strong>"?</p>
            <p>This action cannot be undone.</p>
            
            <form method="post">
                {% csrf_token %}
                <button type="submit" class="btn btn-danger">Yes, Delete</button>
                <a href="{{ document.get_absolute_url }}" class="btn btn-secondary">Cancel</a>
            </form>
        </div>
    </div>
{% endblock %}