@if ( session('status') )
<div class="alert alert-success">
    @foreach(((is_array(session()->get('status'))) ? session()->get('status') : [session()->get('status')]) as $oneStatus)
    <li>{{ $oneStatus }}</li>
    @endforeach
</div>
@endif

@if ( count($errors) > 0 )
<div class="alert alert-danger" style="margin: 0 !important;">
    @foreach(((is_object($errors)) ? $errors->all() : $errors) as $error)
    <li class="text-white">{{ $error }}</li>
    @endforeach
</div>
@endif
