@section('content')
@include('admin::partials.alerts')
@include('admin::partials.exception')
{!! $content !!}
@if(Session::has('____'))
@php
$bag = Session::get('layer-msg');
$type = $bag->get('type')[0] ?? 'success';
$message = $bag->get('message')[0] ?? '';
$offset = $bag->get('offset')[0] ?? '';
@endphp
@endif
@endsection
@section('app')
{!! Dcat\Admin\Admin::assets()->renderStyle() !!}
{!! admin_section(AdminSection::APP_INNER_BEFORE) !!}
@yield('content')
{!! admin_section(AdminSection::APP_INNER_AFTER) !!}
{!! Dcat\Admin\Admin::assets()->renderScript() !!}
{!! Dcat\Admin\Admin::html() !!}
@endsection
@if(! request()->pjax())
@include('admin::layouts.page')
@else
{{ Dcat\Admin\Admin::title() }} @if($header) | {{ $header }}@endif
{!! Dcat\Admin\Admin::assets()->renderCss() !!}
{!! Dcat\Admin\Admin::assets()->renderJs() !!}
@yield('app')
@endif