@if ($message = Session::get('message'))
@endif
@if ($message = Session::get('success'))
@endif
@if (session('status'))
@endif
@if ($message = Session::get('error'))
@if(isset($message['error']))
@else
@if(is_array($message) && count($message) > 0)
@foreach($message as $msg)
@if(is_array($msg))
@foreach($msg as $m)
@endforeach
@else
@if(!empty($msg))
@endif
@endif
@endforeach
@else
@endif
@endif
@endif
@if ($message = Session::get('warning'))
@endif
@if ($message = Session::get('info'))
@endif
@if (isset($errors) && $errors->any())
@foreach ($errors->all() as $error)
@endforeach
@endif