@foreach (['danger', 'warning', 'success', 'info'] as $notification) @if(Session::has($notification)) @endif @endforeach @if (count($errors) > 0) @foreach ($errors->all() as $error) @endforeach @endif