<div class="modal fade" id="modalAjouterFormation" tabindex="-1">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header bg-orange-dark">
                <h5 class="modal-title">Ajouter un certificat</h5>
                <button type="button" class="btn-close" data-bs-dismiss="modal"></button>
            </div>
            <div class="modal-body">
                <form method="post" action="{% url 'gestion_employe:ajouter_formation' %}" enctype="multipart/form-data">
                    {% csrf_token %}
                    {{ formation_form.as_p }}
                    <div class="modal-footer">
                        <button type="submit" class="btn btn-success">Enregistrer</button>
                        <button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Annuler</button>
                    </div>
                </form>
            </div>
        </div>
    </div>
  </div>
</div>