@if (Session::has('message'))
{{ Session::get('message') }}.
@elseif (Session::has('error')){
{{ Session::get('error') }}.
}
@endif
@if ($errors->any())
Validation Errors
@foreach ($errors->all() as $error)
- {{ $error }}
@endforeach
@endif
{{-- @yield('content') --}}
{{ $slot }}
@if (request()->routeIs('*.category.create') || request()->routeIs('*.category.edit'))
@endif
@if (request()->routeIs('*.post.create') || request()->routeIs('*.post.edit'))