@extends(backpack_user() && (starts_with(\Request::path(), config('backpack.base.route_prefix'))) ? 'backpack::layout' : 'backpack::layout_guest') {{-- show error using sidebar layout if looged in AND on an admin page; otherwise use a blank page --}} @php $title = 'Error '.$error_number; @endphp @section('after_styles') @endsection @section('content')