{% extends 'base.html' %}

{% block title %}Delete {{ project.title }} - Packs Site{% endblock %}

{% block content %}
<div class="card">
    <h1><i class="fas fa-trash"></i> Delete {{ project.title }}?</h1>
    <p class="empty-hint">This permanently deletes the project, all its versions and gallery media. This cannot be undone.</p>
    <form method="post">
        {% csrf_token %}
        <div class="form-actions">
            <a href="{% url 'library:project_detail' project.slug %}" class="btn btn-secondary">Cancel</a>
            <button type="submit" class="btn btn-danger"><i class="fas fa-trash"></i> Delete project</button>
        </div>
    </form>
</div>
{% endblock %}
