@foreach (['success' => 'check-circle', 'error' => 'alert-circle', 'warning' => 'alert-triangle', 'info' => 'info'] as $type => $icon)
@if (session($type))
@endif
@endforeach
@if ($errors->any())
Please fix the following {{ \Illuminate\Support\Str::plural('error', $errors->count()) }}
@foreach ($errors->all() as $message)
- {{ $message }}
@endforeach
@endif