@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 @if($currentUser->can('user-update') || $currentUser->id == $user->id) @endif {{ $user->email }} @if($currentUser->can('user-update') || $currentUser->id == $user->id) @endif {{ $user->role->display_name }}
@stop