@extends('layouts.app') @section('title','Edit Course') @section('pages')
@csrf @method('PUT')
Basic Information

@if ($errors->has('course_title')) {{ $errors->first('course_title') }} @endif
@if ($errors->has('category_id')) {{ $errors->first('category_id') }} @endif
@if ($errors->has('course_type')) {{ $errors->first('course_type') }} @endif
@if ($errors->has('language_id')) {{ $errors->first('language_id') }} @endif
@if ($errors->has('subject_id')) {{ $errors->first('subject_id') }} @endif
@if ($errors->has('course_level')) {{ $errors->first('course_level') }} @endif
@if ($errors->has('tags')) {{ $errors->first('tags') }} @endif
@if ($errors->has('course_duration')) {{ $errors->first('course_duration') }} @endif
@if ($errors->has('course_duration')) {{ $errors->first('course_duration') }} @endif
@if ($errors->has('class_id')) {{ $errors->first('class_id') }} @endif
@if ($errors->has('section_id')) {{ $errors->first('section_id') }} @endif
@if ($errors->has('short_description')) {{ $errors->first('short_description') }} @endif
@if ($errors->has('description')) {{ $errors->first('description') }} @endif

Media & Images

@if ($errors->has('video_type')) {{ $errors->first('video_type') }} @endif
is_downloadable == 1) ? 'checked' : '' !!}> @if ($errors->has('is_downloadable')) {{ $errors->first('is_downloadable') }} @endif
Pricing

is_free == 1) ? 'checked' : '' !!}> @if ($errors->has('is_free')) {{ $errors->first('is_free') }} @endif
@if ($errors->has('course_price')) {{ $errors->first('course_price') }} @endif
SEO

@if ($errors->has('meta_title')) {{ $errors->first('meta_title') }} @endif
@if ($errors->has('meta_keywords')) {{ $errors->first('meta_keywords') }} @endif
Example invalid form file
@if ($errors->has('meta_description')) {{ $errors->first('meta_description') }} @endif
@endsection @section('js') {{-- --}} @endsection