@extends('admin.layouts.app') @section('title', 'Users') @section('page-title', 'User Management') @section('content')
Add User
@forelse($users as $user) @empty @endforelse
User Email Role Status Created Actions
{{ substr($user->name, 0, 1) }}

{{ $user->name }}

{{ $user->phone ?? 'N/A' }}

{{ $user->email }} @foreach($user->roles as $role) {{ $role->name }} @endforeach @if($user->is_active) Active @else Inactive @endif {{ $user->created_at->format('M d, Y') }}
@if($user->id !== auth()->id())
@csrf @method('DELETE')
@endif
No users found
@endsection