50 lines
1.7 KiB
PHP
50 lines
1.7 KiB
PHP
@extends('fo.layouts.layout')
|
|
|
|
@section('title', __('Forgot password'))
|
|
@section('description', __('Procedure to recover the password linked to your account.'))
|
|
|
|
@section('content')
|
|
<main class="container">
|
|
<div class="row justify-content-center">
|
|
<div class="col-12 col-md-8 col-lg-6 my-5 text-center">
|
|
|
|
<h1 class="fw-bold text-secondary text-uppercase mb-4">{{ __('Reset Password') }}</h1>
|
|
|
|
<form action="{{ route('fo.auth.ask-reset-password.post') }}" method="POST">
|
|
@csrf
|
|
|
|
@if (session('status'))
|
|
<div class="alert alert-success mb-4" role="alert">
|
|
{{ session('status') }}
|
|
</div>
|
|
@endif
|
|
|
|
<p class="text-muted mb-4">
|
|
{{ __("So that we can send you a password reset link, please provide the email address you used when you registered.") }}
|
|
</p>
|
|
|
|
<div class="mb-4 text-start">
|
|
<div class="form-floating">
|
|
<input class="form-control @error('email') is-invalid @enderror" id="email" name="email" type="email"
|
|
value="{{ old('email') }}" placeholder="{{ __('Email Address') }}" required autocomplete="email" autofocus>
|
|
<label for="email">{{ __('Email Address') }}</label>
|
|
</div>
|
|
|
|
@error('email')
|
|
<span class="invalid-feedback" role="alert">
|
|
<strong>{{ $message }}</strong>
|
|
</span>
|
|
@enderror
|
|
</div>
|
|
|
|
<div class="d-grid gap-2">
|
|
<button class="btn btn-primary rounded-4 py-2" type="submit">
|
|
{{ __('Send Password Reset Link') }}
|
|
</button>
|
|
</div>
|
|
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</main>
|
|
@endsection
|