@if($error = session()->get('error'))

{{ \Illuminate\Support\Arr::get($error->get('title'), 0) }}

{!! \Illuminate\Support\Arr::get($error->get('message'), 0) !!}

@elseif ($errors = session()->get('errors')) @if ($errors->hasBag('error'))
@foreach($errors->getBag("error")->toArray() as $message)

{!! \Illuminate\Support\Arr::get($message, 0) !!}

@endforeach
@endif @endif @if($success = session()->get('success'))

{{ \Illuminate\Support\Arr::get($success->get('title'), 0) }}

{!! \Illuminate\Support\Arr::get($success->get('message'), 0) !!}

@endif @if($info = session()->get('info'))

{{ \Illuminate\Support\Arr::get($info->get('title'), 0) }}

{!! \Illuminate\Support\Arr::get($info->get('message'), 0) !!}

@endif @if($warning = session()->get('warning'))

{{ \Illuminate\Support\Arr::get($warning->get('title'), 0) }}

{!! \Illuminate\Support\Arr::get($warning->get('message'), 0) !!}

@endif