@extends('auth.app')

@section('content')
    <h3 class="mb-4">Reset Password</h3>
    @if (session('status'))
        <div class="alert alert-success" role="alert">
            {{ session('status') }}
        </div>
    @endif
    <form method="POST" action="{{ route('password.email') }}">
        @csrf
        <div class="row mb-3">
            <div class="col-md-12">
                <label for="email" class="mb-2">{{ __('Email Address') }}</label>
                <input id="email" type="email" class="form-control mb-3 rounded-0 @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
            </div>
            <div class="col-md-12">
                <input type="submit" value="Send Password Reset Link" class="btn btn-sm btn-success ms-0">
            </div>
        </div>
    </form>
@endsection
