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

{% block title %}{% block og_title %}Lancer l'import #{{ object.pk }}{% endblock %}{% endblock %}

{% block fluid %}{% endblock %}

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

{% block content %}

<article>
    <header>
        <h1>Lancement de l'import #{{ object.pk }}</h1>
    </header>
    <form method="post">{% csrf_token %}
        <p>Êtes-vous sûr·e de vouloir lancer l'import récurrent «&nbsp;{{ object.name }} ({{ object.pk }})&nbsp;» correspondant à la source <a href="{{ object.source }}">{{ object.source }}</a>&nbsp;?</p>
        {{ form }}
        
        <footer>
            <div class="grid buttons">
                <a href="{% if request.META.HTTP_REFERER %}{{ request.META.HTTP_REFERER }}{% else %}{% url 'recurrent_imports' %}{% endif %}" role="button" class="secondary">Annuler</a>    
                <input type="submit" value="Confirmer">
            </div>
        </footer>
    </form>
</article>

{% endblock %}