@if ($errors->any()) @endif {{-- Success Message --}} @if (session('success')) @endif {{-- Error Message --}} @if (session('error')) @endif

Admin Management

@if ($admins->count())
@foreach ($admins as $index => $admin) @endforeach
# Name Email Role Created At Actions
{{ $index + 1 }} {{ $admin->first_name }} {{ $admin->email }} {{ ucfirst($admin->user_role) }} {{ $admin->created_at->format('d M Y') }}
@else

No admins found.

@endif