@if (session('flash_success_floating')) @section('body_bottom') @parent
{!! session('flash_success_floating') !!}
@endsection @endif @if (session('flash_warning_floating')) @section('body_bottom') @parent
{!! session('flash_warning_floating') !!}
@endsection @endif @if (session('flash_error_floating')) @section('body_bottom') @parent
{!! session('flash_error_floating') !!}
@endsection @endif @if (!empty(session('flashes_floating')) && is_array(session('flashes_floating'))) @foreach (session('flashes_floating') as $flash) @if (!empty($flash['text']) && (empty($flash['role']) || \App\User::checkRole($flash['role'])))
@if (!empty($flash['unescaped'])) {!! $flash['text'] !!} @else {{ $flash['text'] }} @endif
@endif @endforeach {{-- Flashes set in service provider may not be removed --}} @php Session::forget('flashes_floating'); @endphp @endif