<div id="rdv" class="modal" role="dialog">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title">Créer un RDV</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
{{ form_start(form, {'attr': {'id': 'form_add_rdv'}}) }}
<div class="modal-body">
{{ form_row(form.client) }}
{{ form_row(form.salon) }}
<input type="hidden" name="rdv[start]" id="rdv_start" value=""/>
<button type="button" class="btn btn-secondary" id="btnCheckAvailability">Choisir RDV</button>
<span class="chosen-date"></span>
<span class="intervenant"></span>
{{ form_row(form.products) }}
{{ form_row(form.hasAddService) }}
{{ form_row(form.end) }}
{{ form_row(form.comment ) }}
</div>
<div class="modal-footer">
<button type="submit" class="btn btn-primary">Créer</button>
<button type="button" class="btn btn-secondary" data-dismiss="modal">Fermer</button>
</div>
{{ form_end(form) }}
</div>
</div>
</div>
<div class="modal fade" id="availabilityModal" tabindex="-1" role="dialog" aria-labelledby="availabilityModalLabel" aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="availabilityModalLabel">Silver Beauté indique</h5>
</div>
<div class="modal-body"></div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-dismiss="modal">Fermer</button>
</div>
</div>
</div>
</div>