@php $data = ['title' => "Upload Syllabus"] @endphp @include('teacher.components.header_link', $data)
@include('teacher.components.menu')
@include('teacher.components.navbar', $data)
@if (session('success')) @endif
@csrf
@foreach($syllabi as $index => $syl) @endforeach
Sr.No Teacher's Name Title Description Course File Action
{{ $index + 1 }} {{$syl->teacher_id}} {{ $syl->title }} {{ $syl->description }} {{ $syl->course->name ?? 'N/A' }} @if($syl->file) Download @else No file @endif
@include('teacher.components.footer') @include('teacher.components.footer_link')