@extends('layouts.frontend') @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('price'))
{{ $errors->first('price') }}
@endif {{ trans('cruds.course.fields.price_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') }}
{{ trans('global.select_all') }} {{ trans('global.deselect_all') }}
@if($errors->has('students'))
{{ $errors->first('students') }}
@endif {{ trans('cruds.course.fields.students_helper') }}
@endsection @section('scripts') @endsection