@extends(backpack_view('layouts.top_left')) @php $defaultBreadcrumbs = [ $crud->entity_name_plural => url($crud->route), trans('backpack::crud.edit') => false, ]; if (isset($breadcrumbs) && count($breadcrumbs) >= 2) { $keys = array_keys($breadcrumbs); //$breadcrumbs[$keys[count($keys)-1]] = url($crud->route); $breadcrumbs[trans('backpack::crud.edit')] = false; } // if breadcrumbs aren't defined in the CrudController, use the default breadcrumbs $breadcrumbs = $breadcrumbs ?? $defaultBreadcrumbs; $form_name = $submit_form ?? "submit_form"; @endphp @section('header_left') @include('crud::buttons.back_button')

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

@endsection @section('header_right')
{{-- @include('crud::inc.form_save_buttons')--}}
@endsection @section('before_edit_content')
@endsection @section('content') @yield('before_edit_content') @stack('before_edit_content')
@include('crud::inc.grouped_errors')
hasUploadFields('update', $entry->getKey())) enctype="multipart/form-data" @endif > {!! csrf_field() !!} {!! method_field('PUT') !!} @if ($crud->model->translationEnabled())
@endif @if(view()->exists('vendor.backpack.crud.form_content')) @include('vendor.backpack.crud.form_content', ['fields' => $crud->fields(), 'action' => 'edit', 'form_name' => $form_name ]) @else @include('crud::form_content', ['fields' => $crud->fields(), 'action' => 'edit', 'form_name' => $form_name]) @endif
* 為必填項目
{{ __("backpack::common/field.id") }}: {{ $crud->entry->getKey() }}
@if(method_exists($crud->entry, "getManualUpdatedNameColumn"))
{{ __("backpack::common/field.created_name") }}: {{ $crud->entry->{$crud->entry->getCreatedNameColumn()} }} @ {{ $crud->entry->{$crud->entry->getCreatedAtColumn()} }}
{{ __("backpack::common/field.manual_updated_at") }}: {{ $crud->entry->{$crud->entry->getManualUpdatedNameColumn()} }} @ {{ $crud->entry->{$crud->entry->getManualUpdatedAtColumn()} }}
@endif
@yield('after_edit_content') @stack('after_edit_content') @endsection