12345678910 |
- @if (isset($menu['child']) && count($menu['child']) > 0)
- <ul>
- @foreach($menu['child'] as $secondMenu)
- <li class="{{ empty($secondMenu['child']) ? '' : 'dropdown' }}">
- <a href="{{ $secondMenu['PageUri'] }}">{{ $secondMenu['MenuName'] }}</a>
- @include('views.layouts.main-header-recursive', [ 'menu' => $secondMenu ])
- </li>
- @endforeach
- </ul>
- @endif
|