@extends('admin.layouts.app') @section('title', 'Users') @section('breadcrumb') @endsection @section('content')
{{ $users->total() }} Users
@forelse($users as $user) @empty @endforelse
Name Email Role Status Joined Actions
{{ strtoupper(substr($user->name,0,1)) }}
{{ $user->name }} @if($user->id === auth()->id()) You @endif
{{ $user->email }} {{ ucfirst($user->role) }} @if($user->id !== auth()->id()) @else Active @endif {{ $user->created_at->format('d M Y') }}
@if($user->id !== auth()->id())
@csrf @method('DELETE')
@endif
No users found.
@if($users->hasPages()) @endif
@endsection