<turbo-stream action="update" target="modal"><template><div class="modal is-active modal--form modal--sheet" data-action="keydown@window-&gt;modal#handleEscape" data-controller="modal" data-modal="location-order"><div class="modal__overlay" data-action="click-&gt;modal#closeOverlay"></div><div class="modal__wrapper"><div class="modal__header"><div class="flex flex-col gap-[0.125rem] lg:gap-[0.375rem]"><b class="modal__title">Заявка на площадку «TruExit на Сухаревской»</b></div><button aria-label="Закрыть окно" class="btn btn--simple modal__btn modal__btn--close" data-action="click-&gt;modal#close" type="button"><svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" fill="none" data-icon="close"><use href="#icon-close" /></svg></button></div><div class="modal__content" data-scroll-lock-scrollable=""><form data-turbo-stream="true" data-turbo-frame="modal" novalidate="novalidate" action="/locations/truexit-location/location_orders" accept-charset="UTF-8" method="post"><input type="hidden" name="authenticity_token" value="5n8F9F89_sXWrrc0f0T9R863tf_KiX0INI3Di6IgHHFAglVWn_FxBWAl-0D2XaUI5qyAxe5sUeSaJTJeoXfuLg" autocomplete="off" /><input value="/locations/truexit-location/location_orders/new" autocomplete="off" type="hidden" name="location_order[source]" id="location_order_source" /><div class="flex flex-col gap-4"><div class="main-input        " data-controller="input"><label><span class="main-input__label">Имя и фамилия<span class="main-input__required">&thinsp;*</span></span><input autocomplete="given-name" data-action="input-&gt;input#validate blur-&gt;input#validate" data-input-target="input" name="location_order[name]" placeholder=" " required="" type="text" value="" /></label><div class="hint-text" data-input-target="error" style="display: none;"></div></div><div class="main-select    has-placeholder " data-controller="select" data-select-portal-value="modal" data-select-search-value="false"><span class="main-select__label" data-select-target="label">Тип заявки</span><button aria-expanded="false" aria-haspopup="listbox" class="main-select__toggle" data-action="click-&gt;select#toggle" data-select-target="toggle" type="button"><span><span class="main-select__placeholder" data-select-target="placeholder">Выберите тип</span><span class="main-select__text" data-select-target="text"></span></span><svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" fill="none" data-icon="chevrondown" class="main-select__arrow" aria-hidden="true"><use href="#icon-chevrondown" /></svg></button><select name="location_order[customer_type]" required=""><option data-placeholder="" disabled="" selected="" value="">Выберите тип</option><option value="Частное лицо">Частное лицо</option><option value="Корпоративная">Корпоративная</option></select></div><div class="main-input  main-input--phone      " data-controller="input input-phone"><label><span class="main-input__label">Телефон<span class="main-input__required">&thinsp;*</span></span><input autocomplete="tel" data-action="input-&gt;input#validate blur-&gt;input#validate" data-input-phone-target="input" data-input-target="input" inputmode="tel" name="location_order[phone]" placeholder=" " required="" type="tel" value="" /></label><div class="dropdown dropdown main-input__dropdown" data-controller="dropdown"><button aria-expanded="false" class="dropdown__btn" data-action="click-&gt;dropdown#toggle" data-dropdown-target="btn" type="button"><span class="dropdown__btn-icon" data-input-phone-target="countryFlag"><svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" fill="none" data-icon="flag-ru"><use href="#icon-flag-ru" /></svg></span><span class="dropdown__arrow"><svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" fill="none" data-icon="chevrondown"><use href="#icon-chevrondown" /></svg></span></button><div class="dropdown__list" data-dropdown-target="content"><ul class="dropdown__items"><li class="dropdown__item"><button class="country-btn is-active" data-action="click-&gt;input-phone#selectCountry" data-country-code="ru" data-input-phone-target="countryOption" type="button"><span class="country-btn__flag"><svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" fill="none" data-icon="flag-ru"><use href="#icon-flag-ru" /></svg></span><span class="country-btn__name">Россия</span><span class="country-btn__code">+7</span></button></li><li class="dropdown__item"><button class="country-btn" data-action="click-&gt;input-phone#selectCountry" data-country-code="other" data-input-phone-target="countryOption" type="button"><span class="country-btn__flag"><svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" fill="none" data-icon="flag-other"><use href="#icon-flag-other" /></svg></span><span class="country-btn__name">Другая страна</span></button></li></ul></div></div><div class="hint-text" data-input-target="error" style="display: none;"></div></div><div class="main-input        " data-controller="input"><label><span class="main-input__label">Email<span class="main-input__required">&thinsp;*</span></span><input autocomplete="email" data-action="input-&gt;input#validate blur-&gt;input#validate" data-input-target="input" name="location_order[email]" placeholder=" " required="" type="email" value="" /></label><div class="hint-text" data-input-target="error" style="display: none;"></div></div><div class="main-input        " data-controller="input datepicker input-mask" data-datepicker-min-date-value="2026-05-14" data-input-mask-limits-value="[_\d]" data-input-mask-pattern-value="__.__.____"><label><span class="main-input__label">Желаемая дата</span><input autocomplete="off" data-action="input-&gt;input#validate blur-&gt;input#validate" data-input-mask-target="input" data-input-target="input" inputmode="numeric" name="location_order[date]" placeholder="дд.мм.гггг" type="text" /></label><svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" fill="none" data-icon="calendar"><use href="#icon-calendar" /></svg><div class="hint-text" data-input-target="error" style="display: none;"></div></div><div class="textarea" data-controller="input"><div class="textarea__wrapper"><textarea data-action="input-&gt;input#validate blur-&gt;input#validate" data-autosize="" data-input-target="input" name="location_order[options]" rows="3"></textarea><span class="textarea__label">Пожелания по опциям</span></div><div class="hint-text hint-text--orange">Укажите, пожалуйста, какие из перечисленных опций вам необходимы</div><div class="hint-text" data-input-target="error" style="display: none;"></div></div><div class="textarea" data-controller="input"><div class="textarea__wrapper"><textarea data-action="input-&gt;input#validate blur-&gt;input#validate" data-autosize="" data-input-target="input" name="location_order[comment]" rows="3"></textarea><span class="textarea__label">Комментарий</span></div><div class="hint-text" data-input-target="error" style="display: none;"></div></div></div><div class="flex flex-col gap-3 mt-6"><button class="btn btn--filled w-full" type="submit"><span>Отправить заявку</span></button><input type="hidden" name="location_order[i_agree]" id="location_order_i_agree" value="0" autocomplete="off" /><div class="main-toggle  main-toggle--sm main-toggle--checkbox" data-controller="toggle"><label><input checked="" data-toggle-target="input" name="location_order[i_agree]" required="" type="checkbox" value="1" /><span class="main-toggle__control"></span><div class="flex flex-col"><span class="main-toggle__label">Я&nbsp;принимаю условия <a class="link link--inline" href="#{rules_path}" target="_blank">Пользовательского соглашения</a></span></div><span class="main-toggle__slot"></span></label></div></div></form></div></div></div></template></turbo-stream>