@foreach ($alerts as $alert)
@switch($alert['type']) @case('success') @break @case('error') @break @case('warning') @break @default @endswitch
{{ $alert['message'] }}
@endforeach