@extends('layouts.app') @section('content')
Lessons with only Category (No Course)
@if ($lessons and !count($lessons) == 0)
New Lesson
@endif
@forelse ($lessons as $less)
{{ $loop->iteration }}. {{ $less->title }}
Edit Lesson
{{ $less->length }} Mins
Category:
{{ $less->category }}
Delete Lesson
Update Lesson
×
@csrf @method('PATCH')
Lesson Title
Length of video
Description
{{ $less->desc }}
Video Link
Note: only accepting the "src attribute" value of an Iframe link
Allow Preview
{{ $less->preview }}
true
false
If you want users to be able to view this lesson before purchase
Lesson Thumbnail (File)
@error('image')
{{ $message }}
@enderror
Lesson Thumbnail (Url)
Use either file upload or url to choose a lesson image, if both is entered, the file upload will be used.
Update Lesson
{{-- End add user modal --}}
Delete Lesson
×
Are you sure you want delete this lesson?
DELETE
{{-- End add user modal --}} @empty
No Lesson
Add Lesson
@endforelse
Add Lesson
×
@csrf
Lesson Title
Length of video
Description
Video Link
Allow Preview
Allow
Don't Allow
Lesson Thumbnail (File)
@error('image')
{{ $message }}
@enderror
Lesson Thumbnail (Url)
Use either file upload or url to choose a lesson image, if both is entered, the file upload will be used.
Add Lesson
{{-- End add user modal --}} @endsection @push('scripts') @endpush