@php $fields = [ 'password' => 'New Password', 'password_confirmation' => 'Confirm New Password' ]; @endphp @extends('layouts.app') @section('title', 'Reset Password') @section('content')
RESET PASSWORD
@if ($errors->any())
{{ $errors->first() }}
@endif
@csrf @foreach($fields as $field => $label) ($errors->first($field) != null)]) placeholder="{{ $label }}" name="{{ $field }}" :value="old($field)" /> @endforeach
@endsection