Items
@if (Session::has('status')) @endif @can('create', App\Models\Item::class) @endcan

Show  

  entries

ID Name Photo Category Tags Creation Date @can('manage-items', App\User::class) Actions @endcan @foreach ($items as $item) {{ $item->id }} {{ $item->name }} picture {{ $item->category->name }} @foreach ($item->tag as $tag) {{ $tag->name }} @endforeach {{ $item->created_at }} @can('manage-items', auth()->user()) @can('update', $item) edit
@endcan @can('delete', $item) @endcan @endcan
@endforeach
{{ $items->links() }}
@push('js') @endpush