{% extends "agenda_culturel/page.html" %}

{% block title %}{% block og_title %}Supprimer l'organisateur {{ object.name }}{% endblock %}{% endblock %}

{% block fluid %}{% endblock %}

{% block configurer-bouton %}{% endblock %}

{% block content %}

<article>
    <header>
        <h1>Supprimer l'organisateur {{ object.name }}</h1>
    </header>
    <form method="post">{% csrf_token %}
        <p>Êtes-vous sûr·e de vouloir supprimer l'organisateur «&nbsp;{{ object.name }} ({{ object.pk }})&nbsp;»&nbsp;?</p>
        {{ form }}
        <div class="grid buttons">
            <a href="{% if request.META.HTTP_REFERER %}{{ request.META.HTTP_REFERER }}{% else %}{{ object.get_absolute_url }}{% endif %}" role="button" class="secondary">Annuler</a>    
            <input type="submit" value="Confirmer">
        </div>
    </form>
</article>

{% endblock %}