@extends('User::Front.master')

@section('content')
    <form method="get" action="{{ route('password.sendVerifyCodeEmail') }}" class="form">
        <a class="account-logo" href="/">
            <img src="/img/Hemn_ORG.png" alt="">
        </a>
        <div class="form-content form-account">
            @if (session('status'))
                <div class="alert alert-success" role="alert">
                    {{ session('status') }}
                </div>
            @endif
            <input type="email" name="email"  id="email" class="txt-l txt @error('email') is-invalid @enderror" placeholder="ایمیل"
                   value="{{ old('email') }}" required autocomplete="email" autofocus
            >
            @error('email')
                <span class="invalid-feedback" role="alert">
                    <strong>{{ $message }}</strong>
                </span>
            @enderror
            <br>
            <button type="submit" class="btn btn-recoverpass">بازیابی</button>
        </div>
        <div class="form-footer">
            <a href="{{ route('login') }}">صفحه ورود</a>
        </div>
    </form>
@endsection
