@foreach ($childs as $child)
  • {{ $child->title }} @can('backend.category.edit', $child)
    @endcan
    @if (count($child->childs)) @include('backend.category.child', ['childs' => $child->childs]) @endif
  • @endforeach