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

Users

@if(userCan('users-manage'))

Add new user

@endif @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 {{ $user->roles->implode('display_name', ', ') }}
@stop