@foreach (['success' => 'check-circle', 'warning' => 'exclamation-triangle', 'error' => 'x-circle'] as $type => $icon)
@if (session($type))
@endif
@endforeach
@if ($errors->any() && ($showErrorSummary ?? false))
@foreach ($errors->all() as $error)
- {{ $error }}
@endforeach
@endif