Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @if (Auth::check())
- <li class="dropdown">
- <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
- Groups <span class="caret"></span>
- </a>
- <ul class="dropdown-menu" role="menu">
- @foreach (Auth::user()->groups as $group)
- <li><a href="{{ url('/group/'.$group->id) }}"><i class="fa fa-btn fa-users"></i>{{ $group->name }}</a></li>
- @endforeach
- <li><a href="{{ url('/group/create') }}"><i class="fa fa-btn fa-plus"></i>Create New Group</a></li>
- </ul>
- </li>
- @endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement