@foreach (['success' => 'check-circle', 'error' => 'alert-circle', 'warning' => 'alert-triangle', 'info' => 'info'] as $type => $icon) @if (session($type)) @endif @endforeach @if ($errors->any()) @endif