@extends('layouts.admin') @section('content')
{{ trans('global.create') }} {{ trans('cruds.lesson.title_singular') }}
@csrf
@if($errors->has('course'))
{{ $errors->first('course') }}
@endif {{ trans('cruds.lesson.fields.course_helper') }}
@if($errors->has('title'))
{{ $errors->first('title') }}
@endif {{ trans('cruds.lesson.fields.title_helper') }}
@if($errors->has('thumbnail'))
{{ $errors->first('thumbnail') }}
@endif {{ trans('cruds.lesson.fields.thumbnail_helper') }}
@if($errors->has('short_text'))
{{ $errors->first('short_text') }}
@endif {{ trans('cruds.lesson.fields.short_text_helper') }}
@if($errors->has('long_text'))
{{ $errors->first('long_text') }}
@endif {{ trans('cruds.lesson.fields.long_text_helper') }}
@if($errors->has('video'))
{{ $errors->first('video') }}
@endif {{ trans('cruds.lesson.fields.video_helper') }}
@if($errors->has('position'))
{{ $errors->first('position') }}
@endif {{ trans('cruds.lesson.fields.position_helper') }}
@if($errors->has('is_published'))
{{ $errors->first('is_published') }}
@endif {{ trans('cruds.lesson.fields.is_published_helper') }}
@if($errors->has('is_free'))
{{ $errors->first('is_free') }}
@endif {{ trans('cruds.lesson.fields.is_free_helper') }}
@endsection @section('scripts') @endsection