@guest
@yield('content')
@endguest @auth
@if (count($errors) > 0)
Whoops!
There were some problems with your input.
@foreach ($errors->all() as $error)
{{ ucwords($error) }}
@endforeach
@endif @yield('content')
@endauth @guest @endguest @auth @endauth @yield('scripts') @yield('js') @if(Session::has('success'))