@extends('backend.layouts.app') @section('title', 'Edit Instructor') @push('styles') @endpush @section('content')

Edit Course

Basic Info
@csrf @method('PATCH')
@if($errors->has('courseTitle_en')) {{ $errors->first('courseTitle_en') }} @endif
@if($errors->has('courseDescription_en')) {{ $errors->first('courseDescription_en') }} @endif
@if($errors->has('courseDescription_bn')) {{ $errors->first('courseDescription_bn') }} @endif
@if($errors->has('categoryId')) {{ $errors->first('categoryId') }} @endif
@if($errors->has('instructorId')) {{ $errors->first('instructorId') }} @endif
@if($errors->has('courseType')) {{ $errors->first('courseType') }} @endif
@if($errors->has('coursePrice')) {{ $errors->first('coursePrice') }} @endif
@if($errors->has('subscription_price')) {{ $errors->first('subscription_price', $course->subscription_price) }} @endif
@if($errors->has('courseDifficulty')) {{ $errors->first('courseDifficulty') }} @endif
@if($errors->has('prerequisites_en')) {{ $errors->first('prerequisites_en') }} @endif
@if($errors->has('prerequisites_bn')) {{ $errors->first('prerequisites_bn') }} @endif
@endsection @push('scripts') @endpush