mirror of
https://github.com/brunofontes/shareit.git
synced 2024-11-24 12:17:10 +00:00
17 lines
483 B
PHP
17 lines
483 B
PHP
<div class="card mt-4">
|
|
<div class="card-header">
|
|
Other items from the same product
|
|
</div>
|
|
|
|
<div class="card-body">
|
|
<ul>
|
|
@forelse ($otherItems as $otherItem)
|
|
@if (!$otherItem->used_by)
|
|
<li><a href="/item/{{ $otherItem->id }}">{{ $otherItem->name }}</a></li>
|
|
@endif
|
|
@empty
|
|
<p>There are no items yet. Include one with the form above.</p>
|
|
@endforelse
|
|
</ul>
|
|
</div>
|
|
</div> |