<div class="popup" data-key="password" x-data="modal" x-bind="modal">
 <div class="window">
 <a class="close" x-bind="close"></a>

 <form x-bind="form" class="form">
 <div class="name">
 <?php echo \htmlentities(__('account.forgot_password')??'', ENT_QUOTES, 'UTF-8', false); ?>

 </div>
 
 <p>
 <?php echo \htmlentities(__('account.forgot_password_text')??'', ENT_QUOTES, 'UTF-8', false); ?>

 </p>

 <?php echo $this->runChild('form.input', ['name' => 'email']); ?>

 <div class="back">
 <a href="#" x-data @click="$store.modalStore.toggle('login')">
 <?php echo \htmlentities(__('site.back')??'', ENT_QUOTES, 'UTF-8', false); ?>

 </a>
 </div>

 <div x-text="errors.message" :class="errors.message ? 'form__error_bottom' : ''"></div>

 <button type="submit" class="big">
 <?php echo \htmlentities(__('account.reset_password')??'', ENT_QUOTES, 'UTF-8', false); ?>

 </button>
 </form>
 </div>
</div>
