templates/front/hotel/detail/_booking_card.html.twig line 1

Open in your IDE?
  1. {# Moteur « Vérifier la disponibilité » : formulaire de recherche existant, destination fixée sur l'hôtel → /hotel/search #}
  2. <div class="hd-book" id="hotel-availability" data-hotel-detail-target="booking">
  3.     <h2 class="hd-book-title">{{ 'Pages.HotelDetail.CheckAvailability'|trans({}, 'messages_front') }}</h2>
  4.     <p class="hd-book-times">
  5.         <span><i class="bi bi-box-arrow-in-right" aria-hidden="true"></i>{{ 'Pages.HotelOfferDetail.Messages.CheckIn'|trans({}, 'messages_front') }} {{ 'Pages.Common.Messages.After'|trans({}, 'messages_front')|lower }} 14:00</span>
  6.         <span><i class="bi bi-box-arrow-right" aria-hidden="true"></i>{{ 'Pages.HotelOfferDetail.Messages.CheckOut'|trans({}, 'messages_front') }} {{ 'Pages.Common.Messages.Before'|trans({}, 'messages_front')|lower }} 12:00</span>
  7.     </p>
  8.     <div class="hd-book-form" {{ react_component('Hotel/HotelSearchForm', {
  9.         p_destination : {
  10.             'type' : 'hotel',
  11.             'name' : hotel_label,
  12.             'city' : city_label,
  13.             'id' : hotel_data.hotelId,
  14.         },
  15.         p_checkin : arrivalDate,
  16.         p_checkout : departureDate,
  17.         p_autocomplete : true,
  18.         p_hasParent : true,
  19.         p_showDestinationField : false,
  20.         p_submitLabel : 'Pages.HotelDetail.SeePrices'|trans({}, 'messages_front'),
  21.         p_currency : app.session.get('userCurrency'),
  22.         p_exchange_rate : app.session.get('exchangeRate') ?? 1.0,
  23.         p_locale : app.session.get('_locale') ?? app.request.locale,
  24.     }) }}></div>
  25. </div>