@extends('layouts.master') @section('page_title', 'Manage Classes') @section('content')
Manage Classes
{!! Qs::getPanelOptions() !!}
@foreach($my_classes as $c) @endforeach
S/N Name Class Type Class Teacher(s) Action
{{ $loop->iteration }} {{ $c->name }} {{ $c->class_type->name }} @if($c->class_teacher){{ $c->class_teacher->name }}@elseNot set@endif @if($c->class_teacher2)
{{ $c->class_teacher2->name }}@endif
When a class is created, a Section will be automatically created for the class, you can edit it or add more sections to the class at Manage Sections
@csrf
Only needed when the class has more than one class teacher.
{{--Class List Ends--}} @endsection