@foreach ($children as $entry)
  • @if ($reorderable)
    @endif
    @if (is_callable($value)) {!! $value($entry) !!} @else {{ $entry->{$value} }} @endif
    @foreach ($controls as $control) @php if($control instanceof \SleepingOwl\Admin\Contracts\Display\ColumnInterface) { $control->setModel($entry); $control->initialize(); } @endphp {!! $control->render() !!} @endforeach
    @if ($entry->children && $entry->children->count() > 0)
      @include(AdminTemplate::getViewPath('display.tree_children'), ['children' => $entry->children])
    @endif
  • @endforeach