@foreach(\App\Menu::orderBy('position', 'asc')->get() as $menu)
SubMenus->count() > 0) class="dropdown-toggle"
data-toggle="dropdown" role="button"
aria-haspopup="true" aria-expanded="false" @endif>
{!! $menu->url_text !!}
{!! $menu->SubMenus->count() > 0 ? '' : '' !!}
@unless($menu->SubMenus->count() < 0)
@endforeach
@foreach($menu->SubMenus as $submenu)
{{ $submenu->url_text }}
@endforeach
@endunless