@extends('layouts.customadmin') @section('content')
{{ trans('global.edit') }} {{ trans('cruds.course.title_singular') }}
id]) }}" enctype="multipart/form-data"> @method('PUT') @csrf
@if($errors->has('teacher')) {{ $errors->first('teacher') }} @endif {{ trans('cruds.course.fields.teacher_helper') }}
@if($errors->has('title')) {{ $errors->first('title') }} @endif {{ trans('cruds.course.fields.title_helper') }}
@if($errors->has('description')) {{ $errors->first('description') }} @endif {{ trans('cruds.course.fields.description_helper') }}
@if($errors->has('thumbnail')) {{ $errors->first('thumbnail') }} @endif {{ trans('cruds.course.fields.thumbnail_helper') }}
is_published || old('is_published', 0) === 1 ? 'checked' : '' }}>
@if($errors->has('is_published')) {{ $errors->first('is_published') }} @endif {{ trans('cruds.course.fields.is_published_helper') }}
@if($errors->has('cohort')) {{ $errors->first('cohort') }} @endif {{ trans('cruds.course.fields.cohort_helper') }}
{{--
{{ trans('global.select_all') }} {{ trans('global.deselect_all') }}
@if($errors->has('cohort')) {{ $errors->first('cohort') }} @endif {{ trans('cruds.course.fields.cohort_helper') }}
--}}
@endsection @section('scripts') @endsection