@if (session()->has('notify')) @foreach (session('notify') as $msg) @endforeach @endif @if (isset($errors) && $errors->any()) @php $collection = collect($errors->all()); $errors = $collection->unique(); @endphp @endif