@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.add') => false, ]; // if breadcrumbs aren't defined in the CrudController, use the default breadcrumbs $breadcrumbs = $breadcrumbs ?? $defaultBreadcrumbs; @endphp @section('header')

{!! $crud->getHeading() ?? $crud->entity_name_plural !!}

{!! $crud->getSubheading() ?? trans('backpack::crud.add').' '.$crud->entity_name !!}.

@if ($crud->hasAccess('list'))

{{ trans('backpack::crud.back_to_all') }} {{ $crud->entity_name_plural }}

@endif
@endsection @section('content')
{{-- Default box --}} @include('crud::inc.grouped_errors') @if(view()->exists('vendor.backpack.crud.form_content')) @include('vendor.backpack.crud.form_content', [ 'fields' => $crud->fields(), 'action' => 'create' ]) @else @include('crud::form_content', [ 'fields' => $crud->fields(), 'action' => 'create' ]) @endif
@endsection