@foreach($children as $child)
@php
$indicator = "";
for($i=1; $i<=$depth+3; $i++)
$indicator .= "-";
@endphp
@if(count($child->children))
@include('admin.admin_links.options',['children' => $child->children, 'depth'=>$depth+1, 'selected'=>$selected])
@endif
@endforeach