@extends('layouts.vertical', ['pageTitle' => 'Users Management']) @section('page-title') @include('layouts.partials/app-pagetitle', [ 'pageTitle' => 'USERS', 'pageSubTitle1' => 'Admin', 'pageSubTitle2' => 'User Management' ])
@endsection @section('content')
System Users
@can('users.create') @endcan
@if(session('success')) @endif @if(session('error')) @endif
@forelse($users as $user) @empty @endforelse
Name Email Roles Status Verified Actions
{{ $user->name }} {{ $user->email }} @forelse($user->roles as $role) {{ $role->name }} @empty No roles @endforelse Active @if($user->email_verified_at) @else @endif @can('users.edit') @endcan @can('users.delete') @if($user->id !== auth()->id())
@csrf @method('DELETE')
@endif @endcan
No users found.
{{ $users->links() }}
@endsection @push('scripts') @endpush