@section('content')
@if (isset($buttons, $name)) @foreach ($buttons as $view) {{ trans("admin::resource.{$view}", ['resource' => $name]) }} @endforeach @else {{ $buttons ?? '' }} @endif
@if (isset($thead)) @include('admin::components.table') @else {{ $slot }} @endif
@endsection @isset($name) @push('shortcuts') @if (isset($buttons) && in_array('create', $buttons))
c
{{ trans('admin::resource.create', ['resource' => $name]) }}
@endif
Del
{{ trans('admin::resource.delete', ['resource' => $name]) }}
@endpush @push('scripts') @endpush @endisset