@if(count($columns))
index === 0) class="border-top-0" @endif> {!! $column['label'] !!}: | index === 0) class="border-top-0" @endif> @php // create a list of paths to column blade views // including the configured view_namespaces $columnPaths = array_map(function($item) use ($column) { return $item.'.'.$column['type']; }, \Backpack\CRUD\ViewNamespaces::getFor('columns')); // but always fall back to the stock 'text' column // if a view doesn't exist if (!in_array('crud::columns.text', $columnPaths)) { $columnPaths[] = 'crud::columns.text'; } @endphp @includeFirst($columnPaths) |
{{ trans('backpack::crud.actions') }} | @include('crud::inc.button_stack', ['stack' => 'line']) |