@extends('layouts.app') @section('content')
Item Management
@can('manage-items') Add Item @endcan
@include('components.alert')
@foreach ($items as $item) @endforeach
Name Photo Category Tags Creation Date Action
{{ $item->name }} item {{ $item->category->name }} @foreach($item->tags as $tag) {{$tag->name}} @endforeach {{ $item->created_at }} @can('manage-items', auth()->user())
@csrf
@endcan
@include('layouts.footers.auth.footer')
@endsection @push('js') @endpush