@extends('layouts.app') @section('title', 'Расписание') {{-- Ports app/Views/adviser/schedule/index.php (legacy, 479 lines) + the render() payload from App\Controllers\AdviserScheduleController::index() (app/Controllers/AdviserScheduleController.php) — see the Phase 20 plan. Every write form on this page is Laravel-native @csrf as of Phase 21 (#StudentModal's edit-membership form: Phase 20; add/delete-student: Phase 21, shared with groups/show.blade.php's own student section). The delete-student form is built in JS (see showStudents() below) — its hidden _token field is populated from Laravel's real csrf_token(), embedded into the page the same way the legacy CSRF token used to be. The classroom grid/day-switcher/student-list modal are almost entirely client-rendered from the $schedule/$classrooms/$studentsByGroup JSON blobs below — ported byte-for-byte from the legacy @endpush