@extends('base') @section('content') @include('settings/navbar', ['selected' => 'users'])

Users

@if(userCan('users-manage')) Add new user @endif
{!! $users->links() !!}
@foreach(collect($listDetails)->except('search') as $name => $val) @endforeach
@foreach($users as $user) @endforeach
Name Email User Roles
{{$user->name}} @if(userCan('users-manage') || $currentUser->id == $user->id) @endif {{ $user->name }} @if(userCan('users-manage') || $currentUser->id == $user->id) @endif @if(userCan('users-manage') || $currentUser->id == $user->id) @endif {{ $user->email }} @if(userCan('users-manage') || $currentUser->id == $user->id) @endif @foreach($user->roles as $index => $role) {{$role->display_name}}@if($index !== count($user->roles) -1),@endif @endforeach
{!! $users->links() !!}
@stop