@extends('backend.master') @section('mainContent') @include("backend.partials.alertMessage") {!! generateBreadcrumb() !!}

{{__('courses.Chapter')}} {{__('common.Name')}} : {{@$chapter->title}}

@if(isset($lesson)) {{__('common.Edit')}} @else {{__('common.Add')}} @endif {{__('courses.Lesson')}}

@if(isset($lesson))
@csrf @method('PUT') @else @csrf @endif
@if ($errors->has('chapter_name')) {{ $errors->first('chapter_name') }} @endif
@if ($errors->has('chapter_name')) {{ $errors->first('chapter_name') }} @endif
@if ($errors->has('category')) {{ $errors->first('category') }} @endif
@if ($errors->has('video_url')) {{ $errors->first('video_url') }} @endif
@if ($errors->has('is_lock')) {{ $errors->first('is_lock') }} @endif
@if ($errors->has('description')) {{ $errors->first('description') }} @endif
@php $tooltip = ""; @endphp

{{__('courses.Lesson List')}}

@foreach($lessons as $key => $lesson) @endforeach
{{ __('common.SL') }} {{ __('common.Name') }} {{ __('courses.Duration') }} {{ __('common.Action') }}
{{ $key+1 }} {{@$lesson->name }} {{@MinuteFormat($lesson->duration) }}
{{-- @include('coupons::create') --}} @include('backend.partials.delete_modal') @endsection @push('scripts') @endpush