@extends('layouts.app') @section('content')
Item: {{$item->name}} @include ('item.buttons')
@if (session('status')) @endif Other items from the same product:
    @forelse ($otherItems as $otherItem) @if (!$otherItem->usedBy)
  • {{ $otherItem->name }}
  • @endif @empty

    There are no items yet. Include one with the form above.

    @endforelse
Users of this item
Users that has access to this item:
    @forelse ($users as $user)
  • {{ $user->name }} ({{ $user->email}})
    {{ csrf_field() }} @method('DELETE')
  • @empty

    There are no items yet. Include one with the form above.

    @endforelse
Add user
{{ csrf_field() }}
@include ('layouts.errors')
@endsection