@extends('layouts.simple') @section('content')
{{ __('Users List') }}
@can('user_create') Add New User @endcan

@forelse ($users as $user) @empty @endforelse
ID Name Email Role  
{{$user->id}} {{$user->name}} {{$user->email}} {{$user->role->title ?? "--"}} @can('user_show') Show @endcan @can('user_edit') Edit @endcan @can('user_delete')
@csrf @method('DELETE')
@endcan
No Users Found
@if($users->total() > $users->perPage())

{{$users->links()}} @endif
@endsection