@extends(backpack_user() ? (backpack_theme_config('layout') ? backpack_view('layouts.'.backpack_theme_config('layout')) : backpack_view('errors.blank')) : backpack_view('errors.blank')) {{-- show error using sidebar layout if looged in AND on an admin page; otherwise use a blank page --}} @php // Set the page title $title = 'Error '.$error_number; @endphp @section('content')
ERROR
{{ $error_number }}
@yield('title')
@if(backpack_user())
@yield('description')
@endif
@endsection