@extends('layouts.default') @section('title','编辑课程') @section('content')
@include('shared._messages') @include('shared._errors')
{{ method_field('PATCH') }} {{ csrf_field() }} @if ($lesson->teacher_id == null) @else @endif @if (count($lesson->lessonUpdates) > 1) @endif
课程名称*
课程时间   至  
@if (!$flag) @else @endif
教室*
上课学期* {{ $lesson->term->term_name }}
上课老师 暂无
生效日期*
上课老师 {{ $lesson->teacher->staff->englishname }}
生效日期*
历史记录 @foreach ($lesson->lessonUpdates as $key=>$lu) @if ($key != count($lesson->lessonUpdates)-1) 星期:{{$lu->day}} 时长:{{$lu->duration}} 有效日期:{{ $lu->start_date }}~{{ $lu->end_date }}
@endif @endforeach
  返回课程管理
@stop