<form wire:submit.prevent="reset_password" @password-sent.window="toast.success($event.detail)"> 
    <div class="mb-3">
        <label class="form-label d-flex justify-content-between">
            <span>Email</span>
            <a wire:navigate href="{{ route('login') }}" class="text-primary font">Back to login</a>
        </label>
        <div class="form-group input-affix flex-column" x-data="toggle_password">
            <label class="d-none">Password</label>
            <x-form.input 
            name="email" 
            wire:model="email" 
            placeholder="username@domain.com" 
        />
        </div>
    </div>
    <x-form.submit target="reset_password" text="Reset password" loading-text="Resetting password..." />
</form>