@php $customErrors = session('errors') ?? []; @endphp @if(count($customErrors)>0)
@endif