34 lines
650 B
PHP
34 lines
650 B
PHP
<table class="table">
|
|
<thead>
|
|
<tr>
|
|
<th class="w-50">Remove</th>
|
|
<th class="w-50">Source</th>
|
|
</tr>
|
|
</thead>
|
|
|
|
@foreach ($catalog as $o)
|
|
<tbody>
|
|
<tr>
|
|
<td>
|
|
<input type="hidden" name="items[]" value="{{ $o->id }}">
|
|
@include('photo.widgets.thumbnail',['o'=>$o])
|
|
</td>
|
|
|
|
@if (! ($d=$o->duplicates()->get())->count())
|
|
<td>
|
|
No other duplicates found?
|
|
</td>
|
|
@continue
|
|
|
|
@else
|
|
@foreach($d as $item)
|
|
<td>
|
|
<input type="hidden" name="items[]" value="{{ $item->id }}">
|
|
@include('photo.widgets.thumbnail',['o'=>$item])
|
|
</td>
|
|
@endforeach
|
|
@endif
|
|
</tr>
|
|
</tbody>
|
|
@endforeach
|
|
</table> |