{# Moteur « Vérifier la disponibilité » : formulaire de recherche existant, destination fixée sur l'hôtel → /hotel/search #}
<div class="hd-book" id="hotel-availability" data-hotel-detail-target="booking">
<h2 class="hd-book-title">{{ 'Pages.HotelDetail.CheckAvailability'|trans({}, 'messages_front') }}</h2>
<p class="hd-book-times">
<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>
<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>
</p>
<div class="hd-book-form" {{ react_component('Hotel/HotelSearchForm', {
p_destination : {
'type' : 'hotel',
'name' : hotel_label,
'city' : city_label,
'id' : hotel_data.hotelId,
},
p_checkin : arrivalDate,
p_checkout : departureDate,
p_autocomplete : true,
p_hasParent : true,
p_showDestinationField : false,
p_submitLabel : 'Pages.HotelDetail.SeePrices'|trans({}, 'messages_front'),
p_currency : app.session.get('userCurrency'),
p_exchange_rate : app.session.get('exchangeRate') ?? 1.0,
p_locale : app.session.get('_locale') ?? app.request.locale,
}) }}></div>
</div>