@extends('layouts.side_bar') @section('content')

Edit Enrollment

Update enrollment details for this student-course pair.

View Enrollment
@if ($students->isEmpty() || $courses->isEmpty())
@if ($students->isEmpty() && $courses->isEmpty()) No students and courses found. Please create students and courses first. @elseif ($students->isEmpty()) No students found. Please create students first. @else No courses found. Please create courses first. @endif
@endif
@csrf @method('PUT')
@error('student_id')
{{ $message }}
@enderror
@error('course_id')
{{ $message }}
@enderror
@error('enrolled_at')
{{ $message }}
@enderror
@error('enrollment_status')
{{ $message }}
@enderror
Cancel
@endsection