{% extends 'base_frontend.html.twig' %}

{% block title %}  Détail service  {% endblock %}

{% block content %}
<!-- ============================================== HEADER : END ============================================== -->
<div class="breadcrumb">
    <div class="breadcrumb-inner">
        <ul class="list-inline list-unstyled">
            <li><a href="{{ path('frontend_home_index') }}">Accueil</a></li>
            <li><a href="{{ path('frontend_article_service_index') }}">Article et Service</a></li>
            <li class="active">Rendez-vous sélectionné</li>
        </ul>
    </div>
    <!-- /.breadcrumb-inner -->
</div>

<!-- /.breadcrumb -->
<div class="body-content">
	<div class="track-order-page">
		<div class="row">
			<div class="col-md-12">
                <h2 class="heading-title">Rendez-vous sélectionné le: {{ serviceRdvReservation.getDateDebut()|date("d/m/Y H:i")  }}</h2>
                <h4>Service:{{ serviceRdvReservation.getService().getTitre() }}</h4>
                <form class="register-form outer-top-xs" action="{{ path('frontend_panier_add_service', {id:serviceRdvReservation.getId()}) }}" method="post" role="form">
                    <div class="form-group">
                        <label class="info-title" for="NomId1">Nom</label>
                        <input type="text" name="nom" value="{{ user.getFirstname() }}" class="form-control unicase-form-control text-input" id="NomId1" >
                    </div>
                    <div class="form-group">
                        <label class="info-title" for="PrenomIdId">Prénom</label>
                        <input type="text" name="prenom" value="{{ user.getLastname() }}" class="form-control unicase-form-control text-input" id="PrenomIdId" >
                    </div>
                    <div class="form-group">
                        <label class="info-title" for="NaissanceId">Date de naissance</label>
                        <input type="date" name="naissance" value="{{ user.getBirthdate()|date("Y-m-d") }}" class="form-control unicase-form-control text-input" id="NaissanceId" >
                    </div>
                    <div class="form-group">
                        <label class="info-title" for="EmailId">Email</label>
                        <input type="email" name="email" value="{{ user.getEmail() }}"  class="form-control unicase-form-control text-input" id="EmailId" >
                    </div>
                    <input type="submit" class="btn-upper btn btn-primary checkout-page-button" value="Valider">
                </form>	
            </div>			
        </div><!-- /.row -->
        <!-- /.row -->
    </div>
    <!-- /.row -->
</div>
<!-- /.body-content -->
<br><br>
{% endblock %}

{% block javascripts %}
    {{ parent() }}
    {{ encore_entry_script_tags('app_frontend_article_service') }}
{% endblock %}