{% extends "BASE.html" %}
{% load static %}     
{% block 'titre_page' %} Gestion des projets {% endblock %}
{% block 'contenu' %}
    {% if messages %}
        {% for message in messages %}
            <div class="alert alert-{{ message.tags }} alert-dismissible fade show" role="alert">
            {{ message }}
            <button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
            </div>
        {% endfor %}
    {% endif %}
    {% comment %} <h3>Enregistrement d'un nouveau projet</h3> {% endcomment %}
    <div class="row d-flex justify-content-center">
        <div class="col-8 card bordered rounded py-4 px-2 ">
            <h5>Enregistrement d'un nouveau projet</h5>
            <hr>
            <form method="POST" action="{% url 'gestion_projet:creation-projet' %}">
                {% csrf_token %}
                {{ formulaire_creation_projet.as_p }}
                <div class="d-flex justify-content-end">
                    <button type="submit" class="btn btn-danger">Annuler</button>
                    <button class="btn btn-primary ms-2">Enregistrer</button>
                </div>
            </form>
        </div>
    </div>
{% endblock %}
{% block 'modal' %}
{% endblock %}
{% block 'js' %}
{% endblock %}