@if (!Auth::guest()) @include('layouts.nav') @endif
@if(Session::has('flash_message'))
{{ Session::get('flash_message') }}
@endif @if (count($errors) > 0)
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif @yield('content')
@include('layouts.footer') @yield('pagejavascript')