Created photo thumbnail view

This commit is contained in:
Deon George
2019-12-26 16:46:35 +11:00
parent 80a76559e5
commit 8c453d7b0e
3 changed files with 57 additions and 2 deletions

View File

@@ -11,7 +11,7 @@
<tr>
<td>
<input type="hidden" name="items[]" value="{{ $o->id }}">
@include('photo.widgets.thumbnail',['o'=>$o])
@include($o->type.'.widgets.thumbnail',['o'=>$o])
</td>
@if (! ($d=$o->duplicates()->get())->count())
@@ -24,7 +24,7 @@
@foreach($d as $item)
<td>
<input type="hidden" name="items[]" value="{{ $item->id }}">
@include('photo.widgets.thumbnail',['o'=>$item])
@include($item->type.'.widgets.thumbnail',['o'=>$item])
</td>
@endforeach
@endif