@php
$flashMessages = session('flash_notification', collect())->toArray();
@endphp
@if(!empty($flashMessages))
@endif
@foreach($flashMessages as $msg)
@php
$icons = [
'success' => 'bi-check-circle-fill',
'danger' => 'bi-x-circle-fill',
'warning' => 'bi-exclamation-triangle-fill',
'info' => 'bi-info-circle-fill',
];
$icon = $icons[$msg['level']] ?? 'bi-info-circle-fill';
@endphp
@endforeach
{{ session()->forget('flash_notification') }}
@endif
@if ($errors->any())
{!! $msg['message'] !!}
-
@foreach ($errors->all() as $error)
- {{ $error }} @endforeach
{{ __('nav.login') }}
{{ __('nav.dashboard_description') }}
{{ __('auth.dont_have_account') }}
{{ __('auth.register') }}