@php $fields = [ 'email' => 'Email Address' ]; @endphp @extends('layouts.app') @section('title', 'Forgot Password') @section('content')
FORGOT PASSWORD
@if ($errors->any())
{{ $errors->first() }}
@endif
Forgot your password? No problem!

Enter the email address associated with your account and we'll send you a reset link.

@csrf @foreach($fields as $field => $label) ($errors->first($field) != null)]) placeholder="{{ $label }}" name="{{ $field }}" :value="old($field)" /> @endforeach Back 
@endsection