@php // Print Error $errors = $errors->all() ?? []; $coErrors = count($errors); @endphp @if( $coErrors > 0)
@foreach ($errors as $k=>$error) @if($k>0)
@endif {!! $error !!} @endforeach
@endif @if(session()->has('success'))
{!! session()->get('success') !!}
@endif