@extends('layouts.cork') @section('title', $title) @section('page-css') @endsection @section('breadcrumb')
@endsection @section('content')
@csrf @if ($action == 'edit') @method('PUT') @endif
@error('year_id')
{{ $errors->first('year_id') }}
@enderror
@error('term')
{{ $errors->first('term') }}
@enderror
@error('course_id')
{{ $errors->first('course_id') }}
@enderror
@error('provider_id')
{{ $errors->first('provider_id') }}
@enderror
@error('teacher_id')
{{ $errors->first('teacher_id') }}
@enderror
enrollment_max)) value="{{ $section->enrollment_max }}" @else value="{{ old('enrollment_max') }}" @endif> @error('enrollment_max')
{{ $errors->first('enrollment_max') }}
@enderror
@error('minimum_grade')
{{ $errors->first('minimum_grade') }}
@enderror
@error('delivery')
{{ $errors->first('delivery') }}
@enderror
@error('dual_credit')
{{ $errors->first('dual_credit') }}
@enderror
@error('is_moodle')
{{ $errors->first('is_moodle') }}
@enderror
moodle_short_name)) value="{{ $section->moodle_short_name }}" @else value="{{ old('moodle_short_name') }}" @endif> @error('moodle_short_name')
{{ $errors->first('moodle_short_name') }}
@enderror
@error('is_cancelled')
{{ $errors->first('is_cancelled') }}
@enderror
Select schools allowed to enroll. Leave empty for no restrictions. @error('restricted_school_ids')
{{ $errors->first('restricted_school_ids') }}
@enderror
@error('description')
{{ $errors->first('description') }}
@enderror
@endsection @section('page-js') @endsection