@if (can_see($item))
    <li class="{{ set_active($item) }}">
        <a href="{{ isset($item['link']) ? url($item['link']) : '#' }}">
            @if (isset($item['icon']))
            <i class="fa fa-lg fa-fw {{ $item['icon'] }}"></i> 
            @endif
            <span class="menu-item-parent">{{ $title }}</span>
        </a>
        @if (isset($item['subitems']))
            <ul>
                @foreach ($item['subitems'] as $subtitle => $subitem)
                    @include('subviews.menu', ['title' => $subtitle, 'item' => $subitem])
                @endforeach
            </ul>
        @endif
    </li>
@endif