templates/front/Produit/reservation.html.twig line 34

Open in your IDE?
  1. {% trans_default_domain 'app' %}
  2. {% set nbPax = travellers['nbPax'] %}
  3. {% set datearrivee = travellers['actdatearrivee'] | dateEnToFr %}
  4. {% set datedepart = travellers['actdatedepart'] | dateEnToFr %}
  5. {% set duree = travellers['actnbnuits'] %}
  6. {% set actnbadultes = travellers['actnbadultes'] %}
  7. {% set actnbenfants = travellers['actnbenfants'] %}
  8. {% set actnbbebes = travellers['actnbbebes'] %}
  9.  <form method="post" class="form-inline" name="formResaProduit" id="formResaProduit" action="{{ path('ac_platform_produit_reservation_save', {'slug': slug, 'id': id}) }}">
  10.     <input type="hidden" name="id" value="{{ id }}" />
  11.     <div id="param-sejour" class="recherche-date">
  12.         <h3 class="main">{{ 'produit.reservation.titre' |trans({}, 'app') |raw }}</h3>
  13.         <div class="wrapper">
  14.             <div class="row">
  15.                 <div class="col-lg-2 col-md-2 col-sm-2 col-xs-2"><span class="badge">1</span></div>
  16.                 <div class="col-lg-10 col-md-10 col-sm-10 col-xs-10"><label class="section" for="datearrivee">{{ 'produit.reservation.date_arrivee.titre' |trans({}, 'app') |raw }}</label></div>
  17.                 <div class="col-lg-2 col-md-2 col-sm-2 col-xs-2"></div>
  18.                 <div class="col-lg-10 col-md-10 col-sm-10 col-xs-10"><input class="btn-fiche-recherche datearriveeInput arrivalPicker data-hj-allow" type="text" id="datearrivee" name="datearrivee" aria-required="true" placeholder="JJ/MM/AAAA" value="{{ datearrivee }}" autocomplete="off" /></div>
  19.             </div>
  20.             <div class="row">
  21.                 <div class="col-lg-2 col-md-2 col-sm-2 col-xs-2"><span class="badge">2</span></div>
  22.                 <div class="col-lg-10 col-md-10 col-sm-10 col-xs-10"><label class="section" for="datedepart">{{ 'produit.reservation.date_depart.titre' |trans({}, 'app') |raw }}</label></div>
  23.                 <div class="col-lg-2 col-md-2 col-sm-2 col-xs-2"></div>
  24.                 <div class="col-lg-10 col-md-10 col-sm-10 col-xs-10"><input class="btn-fiche-recherche datedepartInput departurePicker data-hj-allow" type="text" id="datedepart" name="datedepart" value="{{ datedepart }}" value="{{ datedepart }}" autocomplete="off" /></div>
  25.             </div>
  26.             <div class="row">
  27.                 <div class="col-lg-2 col-md-2 col-sm-2 col-xs-2"><span class="badge">3</span></div>
  28.                 <div class="col-lg-10 col-md-10 col-sm-10 col-xs-10"><label class="section"> {{ 'produit.reservation.participants.titre' |trans({}, 'app') |raw }}</label></div>
  29.                 <div class="col-lg-2 col-md-2 col-sm-2 col-xs-2"></div>
  30.                 <div class="col-lg-10 col-md-10 col-sm-10 col-xs-10">
  31.                     <div class="selectpicker-recherche data-hj-allow">
  32.                         {{ render(controller('App\\Controller\\ProductController::adultes',  {'travellers': travellers})) }}
  33.                     </div>
  34.                     <div class="padding-off selectpicker-recherche">
  35.                         {{ render(controller('App\\Controller\\ProductController::enfants',  {'travellers': travellers})) }}
  36.                     </div>
  37.                     <div id="container-dates-enfants"> 
  38.                         {{ render(path('ac_platform_getages', {'type': 'enfants'})) }}
  39.                     </div>
  40.                     <div class="margin-bottom-30"></div>
  41.                     <div class="padding-off selectpicker-recherche">
  42.                         {{ render(controller('App\\Controller\\ProductController::bebes',  {'travellers': travellers})) }}
  43.                     </div>
  44.                     <div id="container-dates-bebes"> {{ render(path('ac_platform_getages', {'type': 'bebes'})) }}</div>
  45.                     
  46.                 </div>
  47.             </div>
  48.             <div class="row">
  49.                 <div class="col-lg-2 col-md-2 col-sm-2 col-xs-2"><span class="badge">4</span></div>
  50.                 <div class="col-lg-10 col-md-10 col-sm-10 col-xs-10">
  51.                     <label class="section"> {{ 'produit.reservation.votre_formule.titre' |trans({}, 'app') |raw }}</label>
  52.                 </div>
  53.                 <div class="col-lg-2 col-md-2 col-sm-2 col-xs-2"></div>
  54.                 <div class="col-lg-10 col-md-10 col-sm-10 col-xs-10">
  55.                     <div class="selectpicker-recherche">
  56.                     <select name="formule" class="selectpicker ">
  57.                         {% set selected = null %}   
  58.                         {% for package in packages %}
  59.                             {% if selectedFormule == package.idIresa %}
  60.                                 {% set selected = 'selected' %}
  61.                             {% else %}
  62.                                 {% set selected = null %}
  63.                             {% endif %}
  64.                             <option value="{{ package.idIresa }}" {{ selected }} >{{ package.nom }}</option>
  65.                         {% endfor %}
  66.                     </select>
  67.                     </div>
  68.                 </div>
  69.             </div>
  70.             <div class="row">
  71.                 <div class="col-lg-2 col-md-2 col-sm-2 col-xs-2"><span class="badge">5</span></div>
  72.                 <div class="col-lg-10 col-md-10 col-sm-10 col-xs-10"><label class="section">{{ 'produit.reservation.votre_hebergement.titre' |trans({}, 'app') |raw }}</label></div>
  73.                 <div class="messagedispolieu"></div>
  74.                 <div id="listHebergements" style="display:none;">
  75.                 {{ render(controller('App\\Controller\\ProductController::getHebergements', {})) }}
  76.                 </div>
  77.                 
  78.             </div>
  79.             <input class="dureeInput" type="hidden" name="duree" value="{{ duree }}"/>
  80.             <div class="margin-top-30 produit-reassurance">
  81.                 <p >&#x2714; {{ 'produit.reassurance.annulation'| trans }}</p>
  82.                 <p>&#x2714; {{ 'produit.reassurance.paiement3X'| trans }}</p>
  83.                 <div class="row margin-top-30 text-center">
  84.                     <div class="col-md-3 col-sm-3 col-xs-3"></div>
  85.                     <div class="col-md-3 col-sm-3 col-xs-3"><img alt="mastercard" src="{{ asset('build/images/front/mastercard.png')}}" /></div>
  86.                     <div class="col-md-3 col-sm-3 col-xs-3"><img alt="ancv" src="{{ asset('build/images/front/ancv.png')}}" /></div>
  87.                     <div class="col-md-3 col-sm-3 col-xs-3"></div>
  88.                 </div>
  89.             </div>
  90.         </div>
  91.     </div>
  92.     
  93. </form>