@extends('layouts.app') @section('admin_title', 'Admin Students') @section('content') @php $adminCtx = \App\Helpers\AdminContext::get(); $collegeDepts = $adminCtx ? \App\Helpers\AdminContext::departments() : collect(); @endphp
@if ($errors->any())
@endif
@csrf

Select Department & Batch

Choose a department and batch to view and manage students.

@if($adminCtx)
@error('dept'){{ $message }}@enderror
@error('batch'){{ $message }}@enderror
@else
@endif
@endsection