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

Users

@if($currentUser->can('user-create'))

Add New User

@endif @foreach($users as $user) @endforeach
Name Email User Type
{{$user->name}} @if($currentUser->can('user-update') || $currentUser->id == $user->id) @endif {{$user->name}} @if($currentUser->can('user-update') || $currentUser->id == $user->id) @endif {{$user->email}} {{ $user->role->display_name }}
@stop