@if (!empty($errors) && !is_array($errors) && $errors->any())
@foreach ($errors->toArray() as $type => $error)
-
{!! $error[0] ?? '' !!}
@endforeach
@endif
@if (session('notice'))
{{ session('notice') }}
@endif
@if (session('warning'))
{{ session('warning') }}
@endif
@if (session('success'))
{{ session('success') }}
@endif