<div class="modal fade bs-example-modal-lg" id="addparticipantModal" tabindex="-1" role="dialog" aria-labelledby="addparticipantModalLabel" aria-hidden="true">
    <div class="modal-dialog modal-lg modal-dialog-centered">
        <div class="modal-content">
            <div class="modal-header">
                <h4 class="modal-title" id="addparticipantModalLabel">Ajout Participant dans <span>
                        {{reunion.libele}}</span></h4>
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
            </div>
            <div class="modal-body">
                <form action="{% url 'reunion:ajout_participant' id=reunion.id %}" method="post">
                    {% csrf_token %}
                    <div class="form-group">
                        <label for="prenom">PRENOM</label>
                        <input class="form-control" id="prenom" name="prenom" type="text" placeholder="Prenom" required>
                    </div>
                    <div class="form-group row">
                        <div class="col-md-12 col-sm-12">
                            <div class="form-group upper-case">
                                <label>NOM</label>
                                <input type="text" class="form-control" id="nom" name="nom">
                            </div>
                        </div>
                    </div>
                    <div class="form-group row">
                        <div class="col-md-12 col-sm-12">
                            <div class="form-group upper-case">
                                <label>SEXE</label>
                                <select class="custom-select col-12" id="sexe" name="sexe" required>
                                    <option selected="">........</option>
                                    <option value="H">HOMME</option>
                                    <option value="F">FEMME</option>
                                </select>
                            </div>
                        </div>
                    </div>
                    <div class="form-group row">
                        <div class="col-md-12 col-sm-12">
                            <div class="form-group upper-case">
                                <label>Age</label>
                                <input type="number" class="form-control" id="age" name="age" required>
                            </div>
                        </div>
                    </div>
                    <div class="form-group row">
                        <div class="col-md-12 col-sm-12">
                            <div class="form-group upper-case">
                                <label>provenance</label>
                                <input type="text" class="form-control" id="provenance" name="provenance"  required>
                            </div>
                        </div>
                    </div>
                    <div class="form-group row">
                        <div class="col-md-12 col-sm-12">
                            <div class="form-group upper-case">
                                <label>activite</label>
                                <input type="text" class="form-control" id="activite" name="activite" 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>

