@extends('layouts.app')

@section('content')
<!-- my-account-area start -->
  <div class="my-account-area">
    <div class="container" style="padding-top: 100px;">
      <div class="row">
        <div class="col-md-3"></div>
        <div class="col-md-6">
          <form action="{{ route('password.email') }}" method="post">
            @csrf
            <div class="form-fields">
              <h2>Reset Password</h2>
              <p>
                <label>Email<span class="required">*</span></label>
                <input id="email" type="email" class="form-control @error('email') is-invalid @enderror" name="email" value="{{ old('email') }}" required autocomplete="email" autofocus>

                @error('email')
                    <span class="invalid-feedback" role="alert">
                        <strong>{{ $message }}</strong>
                    </span>
                @enderror
              </p>
            </div>
            

            <div class="form-action">
              <button type="submit" class="btn btn-dark">Send Password Reset Link</button>              
            </div>
          </form>
        </div>
        <div class="col-md-3"></div>
      </div>
    </div>
  </div>
  <!-- my-account-area end -->
@endsection