@foreach($items as $item) hasChildren())class ="dropdown"@endif @lm-endattrs> @if($item->link) link) @if($item->hasChildren()) class="dropdown-toggle" data-toggle="dropdown" @endif @lm-endattrs href="{!! $item->url() !!}"> {!! $item->title !!} @if($item->hasChildren()) @endif @else {!! $item->title !!} @endif @if($item->hasChildren()) @endif @if($item->divider) divider) !!}> @endif @endforeach