@if (count($errors) > 0)
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif @foreach (['danger', 'warning', 'success', 'info'] as $msg) @if(Session::has('alert-' . $msg))
{!! clean(Session::get('alert-' . $msg)) !!}
@endif @endforeach @if(Session::has('flash_message'))
{!! clean(Session::get('flash_message')) !!}
@endif @if(isset($flash_message))
{!! clean($flash_message) !!}
@endif