@extends(backpack_view('blank'))
@php
$defaultBreadcrumbs = [
trans('backpack::crud.admin') => url(config('backpack.base.route_prefix'), 'dashboard'),
$crud->entity_name_plural => url($crud->route),
trans('backpack::crud.preview') => false,
];
// if breadcrumbs aren't defined in the CrudController, use the default breadcrumbs
$breadcrumbs = $breadcrumbs ?? $defaultBreadcrumbs;
Widget::add()
->to('after_content')
->type('view')
->view('backpack.devtools::widgets.preview-files')
->content(CRUD::getCurrentEntry()->getRelatedFiles());
@endphp
@section('header')
@endsection
@section('content')
@endsection
@section('after_styles')
@endsection
@section('after_scripts')
@endsection