<!-- Booking from START --><form class="bg-mode shadow rounded-3 position-relative p-4 pe-md-5 pb-5 pb-md-4 mb-4" action="{{ path('home_search') }}" method="get"> <div class="row g-4 align-items-center"> <!-- Location --> <div class="col-lg-4"> <div class="form-control-border form-control-transparent form-fs-md d-flex"> <!-- Icon --> <i class="bi bi-geo-alt fs-5 me-2 mt-4"></i> <!-- Select input --> <div class="flex-grow-1"> <label class="form-label">{% trans %}Location{% endtrans %}</label> <select id="search-location" class="form-select" data-search-enabled="true" data-url="{{ path('region_list_ajax') }}" data-lang="{{ currentLocale.key }}" name="search[location]"> {% if region is defined and region is not empty %} <option value="{% if params.search is defined %}{{ region.id }} {% else %}{% trans %}2395{% endtrans %}{% endif %}">{% if params.search is defined %}{{ region.name }} {% else %}{% trans %}Moscow{% endtrans %}{% endif %}</option> {% endif %} {% if region is defined and region is not empty %} <option value="2395">{% if currentLocale.key == 'ru' %}Москва{% else %}Moskow{% endif %}</option> <option value="{{ region.id }}">{{ region.name }}</option> {% else %} <option value="2395">{% if currentLocale.key == 'ru' %}Москва{% else %}Moskow{% endif %}</option> {% endif %} </select> </div> </div> </div> <!-- Check in --> <div class="col-lg-4"> <div class="d-flex"> <!-- Icon --> <i class="bi bi-calendar2-check fs-5 me-2 mt-4"></i> <!-- Date input --> <div class="form-control-border form-control-transparent form-fs-md"> <label class="form-label">{% trans %}Check in - out{% endtrans %}</label> <input type="text" class="form-control flatpickr" data-mode="range" data-locale="{{ currentLocale.key }}" placeholder="Select date" value="19 Sep to 28 Sep"> <input type="hidden" id="search-checkin" name="search[checkin]" {% if params.search is defined %} value="{{ params.search.checkin }}" {% endif %}> <input type="hidden" id="search-checkout" name="search[checkout]" {% if params.search is defined %} value="{{ params.search.checkout }}" {% endif %}> </div> </div> </div> <!-- Guest --> <div class="col-lg-4"> <div class="form-control-border form-control-transparent form-fs-md d-flex"> <!-- Icon --> <i class="bi bi-people fs-5 me-2 mt-4"></i> <!-- Dropdown input --> <div class="w-100"> <label class="form-label">{% trans %}Guests & rooms{% endtrans %}</label> <div class="dropdown guest-selector me-2"> <input type="text" class="form-guest-selector form-control selection-result" value="1 Guests 1 Room" id="dropdownGuest" data-bs-auto-close="outside" data-bs-toggle="dropdown"> <!-- dropdown items --> <ul class="dropdown-menu guest-selector-dropdown" aria-labelledby="dropdownGuest"> <!-- Adult --> <div class="rooms-body"></div> <li class="dropdown-divider"></li> <div class="rooms-footer"> <li class="d-flex justify-content-between"> <input type="button" class="btn btn-primary" id="add-room" value="{{ 'addroom'|trans }}"> <input type="button" class="btn btn-primary" id="ready-room" value="{{ 'ready'|trans }}"> </li> </div> </ul> {% if params is defined and params.search is defined and params.search.guests is defined %} <input type="hidden" data-guests="{{ params.search.guests|json_encode }}" id="guests-data"> {% endif %} </div> <input type="hidden" id="rooms-translation" data-adults="{{ 'Adults'|trans }}" data-adults-title="{{ 'adults'|trans }}" data-adult="{{ 'Adult'|trans }}" data-ageAbove="{{ 'ageAbove'|trans }}" data-child="{{ 'Child'|trans }}" data-child-en="{{ 'Children'|trans }}" data-children="{{ 'Children'|trans }}" data-children-title="{{ 'children'|trans }}" data-agebelow="{{ 'ageBelow'|trans }}" data-addChildButton="{{ 'addChildButton'|trans }}" data-year="{{ 'year'|trans }}" data-years="{{ 'years'|trans }}" data-years1="{{ 'years1'|trans }}" data-addroom="{{ 'addroom'|trans }}" data-guests="{{ 'guests'|trans }}" data-guest="{{ 'guest'|trans }}" data-rooms="{{ 'Rooms'|trans }}" data-more-room="{{ 'MoreRoom'|trans }}" data-room="{{ 'Room'|trans }}" data-lang="{{ currentLocale.key }}" > </div> </div> </div>{# <div class="col-lg-3"> <!-- Icon --> <div class="form-control-border form-control-transparent form-fs-md d-flex"> <i class="bi bi bi-globe fs-5 me-2 mt-4"></i> <div class="flex-grow-1"> <label class="form-label">{% trans %}nationality{% endtrans %}</label> <select id="search-residency" class="form-select" data-search-enabled="true" data-url="{{ path('home_search_countries_ajax', {'_locale': currentLocale.key}) }}" name="search[residency]"> <option value="{% if params.search is defined and params.search.residency is defined %}{{ params.search.residency }}{% else %}{{ country.cca2 }}{% endif %}">{{ country[currentLocale.key] }}</option> </select> </div> </div> </div>#} <input type="hidden" value="{% if params.search is defined and params.search.residency is defined %}RU{% else %}RU{% endif %}" name="search[residency]" /> </div> <!-- Button --> <div class="btn-position-md-middle" style="left: 99%"> <button id="search-button" class="icon-lg btn btn-round btn-primary mb-0" name="search[button]"><i class="bi bi-search fa-fw"></i></button> </div> <input type="hidden" name="search[currency]" value='RUB' id="search-currency"> <input type="hidden" name="search[language]" value='{{ currentLocale.key }}' id="search-language"> <div id="search-form-filters"> </div></form>