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

All Instructors

Manage instructors and their courses

Add Instructor
{{-- Search --}}
@if(request('search')) Clear @endif
{{-- Instructors Grid --}}
@forelse($instructors as $instructor)
{{ strtoupper(substr($instructor->name, 0, 1)) }}

{{ $instructor->name }}

{{ $instructor->email }}

{{ $instructor->courses_count }} courses

View Edit
@csrf @method('DELETE')
@empty

No instructors found.

Add First Instructor
@endforelse
@if($instructors->hasPages())
{{ $instructors->links() }}
@endif
@endsection