@extends("cms.layouts.master", []) @push('js') {{-- --}} @endpush @push('lib_css') {{-- --}} @endpush @push('css') @endpush @section("body")
{{-- @include('partials/navbar') --}} @component('cms.partials.navbar') @endcomponent @include('cms.partials.sidemenu')
@if(View::hasSection('title') || View::hasSection('top_right') || View::hasSection('subtitle'))
{{--
--}}
@if(View::hasSection('title') || View::hasSection('subtitle'))
@hasSection ('title')

@yield("title")

@endif @hasSection ('subtitle')
@yield('subtitle')
@endif
@endif @hasSection ('top_right')
@yield("top_right")
@endif
{{--
--}}
@endif
{{-- alert --}} @foreach (['danger', 'warning', 'success', 'info'] as $msg) @if(session()->has('alert-' . $msg))
{{ session()->get('alert-' . $msg) }}
@endif @endforeach {{-- errors --}} {{-- @if($errors->any()) @foreach ($errors->all() as $error)
{{ $error }}
@endforeach @endif --}} @yield("content")
@endsection