<div class="modal fade bs-example-modal-lg" id="addPlanification" tabindex="-1" role="dialog" aria-labelledby="addPlanificationLabel" aria-hidden="true">
    <div class="modal-dialog modal-lg modal-dialog-centered">
        <div class="modal-content">
            <div class="modal-header">
                <h4 class="modal-title upper-case" id="addPlanificationLabel">Ajouter </h4>
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
            </div>
            <div class="modal-body">
                <form method="post" action="/reunion/ajout/planification">
                    {% csrf_token %}
                    <div class="form-group">
                        <label for="mois">MOIS :</label>
                        <input class="form-control" id="mois" name="mois" type="month" required>
                    </div>

                    <div class="form-group row">
                        <div class="col-md-12 col-sm-12">
                            <div class="form-group upper-case">
                                <label>ZONE</label>
                                <select class="form-control form-control-sm" name="zone">
                                    {% for zone in zones %}
                                    <option value="{{zone.id}}">{{zone.nom_zone}}</option>
                                    {% endfor %}
                                </select>
                            </div>
                        </div>
                    </div>

                    <div class="form-group row">
                        <div class="col-md-12 col-sm-12">
                            <div class="form-group upper-case">
                                <label>NOMBRE DE REUNION PREVUE</label>
                                <input type="number" class="form-control" id="objectif_reunions" name="objectif_reunions" required>
                            </div>
                        </div>
                    </div>
                    <div class="row">
                        {% if form.non_field_errors %}
                        <ul class='form-errors alert alert-danger' role="alert">
                            {% for error in form.non_field_errors %}
                            <li>{{ error }}</li>
                            {% endfor %}
                        </ul>
                        {% endif %}
                        <div class="col-sm-12">
                            <div class="input-group mb-0">
                                <input class="btn btn-primary btn-lg btn-block" type="submit" value="VALIDER">
                            </div>
                        </div>
                    </div>
                </form>
            </div>
        </div>
    </div>
</div>

