@if (in_array(App::getLocale(), ['ar', 'fa'])) @endif @if($load_css) @foreach($load_css as $css) @endforeach @endif @stack('head')
@include('crudbooster::header') @include('crudbooster::sidebar')
@if($module)

{!! ucwords(($page_title)?:$module->name) !!}    @if(CRUDBooster::getCurrentMethod() == 'getIndex') @if($button_show) {{cbLang('action_show_data')}} @endif @if($button_add && CRUDBooster::isCreate()) {{cbLang('action_add_data')}} @endif @endif @if($button_export && CRUDBooster::getCurrentMethod() == 'getIndex') {{cbLang("button_export")}} @endif @if($button_import && CRUDBooster::getCurrentMethod() == 'getIndex') {{cbLang("button_import")}} @endif @if(!empty($index_button)) @foreach($index_button as $ib) {{$ib["label"]}} @endforeach @endif

@else

{{Session::get('appname')}} {{ cbLang('text_dashboard') }}

@endif
@if(@$alerts) @foreach(@$alerts as $alert)
{!! $alert['message'] !!}
@endforeach @endif @if (Session::get('message')!='')

{{ cbLang("alert_".Session::get("message_type")) }}

{!!Session::get('message')!!}
@endif @yield('content')
@include('crudbooster::footer')
@include('crudbooster::admin_template_plugins') @if($load_js) @foreach($load_js as $js) @endforeach @endif @stack('bottom')