@extends('layouts.app') @section('title', 'Cursos') @section('content')

Cursos

@if ($errors->any())
@endif
@foreach ($semesters as $semester) @endforeach @foreach ($courses as $course) @foreach ($semesters as $semester) @endforeach @endforeach
Curso Title Prontuario# de Secciones
{{ $semester->alpha }}
{{ $course->code }} {{ substr($course->title, 0, 50) . (strlen($course->title) > 50 ? '...' : '') }} @if (!is_null($course->syllabus)) PDF @else @auth @else n/a @endauth @endif take(-6)->contains($semester->code)) onclick="addSection({{ $course->id . ',\'' . $semester->code }}')" @endif > {{ $course->getSemesterSectionCount($semester->code) }}
@endsection @section('modals') @include('modal.course.create') @include('modal.section.create') @include('modal.syllabus') @endsection @section('scripts') @endsection