LaravelRUS /
SleepingOwlAdmin
| 1 | @foreach ($children as $entry) |
||
| 2 | <li class="dd-item dd3-item {{ $reorderable ? '' : 'dd3-not-reorderable' }}" data-id="{{ $entry->id }}"> |
||
| 3 | @if ($reorderable) |
||
| 4 | <div class="dd-handle dd3-handle"></div> |
||
| 5 | @endif |
||
| 6 | <div class="dd3-content"> |
||
| 7 | |||
| 8 | @if (is_callable($value)) |
||
| 9 | {!! $value($entry) !!} |
||
| 10 | @else |
||
| 11 | {{ $entry->{$value} }} |
||
| 12 | @endif |
||
| 13 | |||
| 14 | <div class="pull-right"> |
||
| 15 | @foreach ($controls as $control) |
||
| 16 | |||
| 17 | @if($control instanceof \SleepingOwl\Admin\Contracts\Display\ColumnInterface) |
||
| 18 | <?php $control->setModel($entry); ?><?php |
||
|
0 ignored issues
–
show
Coding Style
introduced
by
Loading history...
|
|||
| 19 | $control->initialize(); |
||
| 20 | ?> |
||
| 21 | @endif |
||
| 22 | |||
| 23 | {!! $control->render() !!} |
||
| 24 | @endforeach |
||
| 25 | </div> |
||
| 26 | </div> |
||
| 27 | @if ($entry->children && $entry->children->count() > 0) |
||
| 28 | <ol class="dd-list"> |
||
| 29 | @include(AdminTemplate::getViewPath('display.tree_children'), ['children' => $entry->children]) |
||
| 30 | </ol> |
||
| 31 | @endif |
||
| 32 | </li> |
||
| 33 | @endforeach |
||
| 34 |