@php $displayEndFlash = false; @endphp @foreach (['danger', 'warning', 'success', 'info'] as $msg) @if(Session::has('alert-' . $msg)) @once @php $displayEndFlash = true; @endphp
@endonce

{{ Session::get('alert-' . $msg) }}

@endif @endforeach @if($displayEndFlash)
@endif

Le site est en cours de développement

@section('extra-js') @show