@extends('layouts.admin') @section('title', 'User Management') @section('content')

User Management

All Users
Add New User
@if(session('success')) @endif
@forelse($users as $user) @empty @endforelse
ID Name Email User Type Created On Actions
{{ $user->id }} {{ $user->name }} {{ $user->email }} {{ ucfirst($user->usertype) }} {{ $user->created_at ? $user->created_at->format('M d, Y') : 'N/A' }}
@csrf @method('DELETE')
No users found.
{{ $users->links() }}
@endsection