@if (session('flash_success') || session('flash_success_unescaped'))
×
{{ session('flash_success') }}{!! session('flash_success_unescaped') !!}
@endif
@if (session('flash_warning'))
×
{{ session('flash_warning') }}
@endif
@if (session('flash_error'))
×
{{ session('flash_error') }}
@endif
@if (session('flash_error_unescaped'))
×
{!! session('flash_error_unescaped') !!}
@endif
{{-- Floating flash messages are displayed in layout --}}
@php
$flashes = \Eventy::filter('flash_messages.flashes', $flashes ?? []);
@endphp
@if (!empty($flashes) && is_array($flashes))
@foreach ($flashes as $flash)
×
@if (!empty($flash['unescaped']))
{!! $flash['text'] !!}
@else
{{ $flash['text'] }}
@endif
@endforeach
@endif