@extends('frontend.' . auth()->user()->role . '-dashboard.layouts.master') @push('custom_meta') @endpush @section('dashboard-contents') {{-- Step form --}}
@csrf

{{ __('Create Course') }}

@include('frontend.instructor-dashboard.course.navigation')
@csrf
@forelse ($chapters as $chapter)

@forelse ($chapter->chapterItems as $chapterItem) @if ($chapterItem->type == 'lesson' || $chapterItem->type == 'live')

{{ truncate($chapterItem?->lesson?->title) }}

@elseif ($chapterItem->type == 'document')

{{ truncate($chapterItem?->lesson?->title) }}

@else

@forelse ($chapterItem?->quiz?->questions as $question)

{{ $question->title }}

@empty

{{ __('No questions found.') }}

@endforelse
@endif @empty

{{ __('No lessons found.') }}

@endforelse
@empty

{{ __('No chapters found.') }}

@endforelse
@endsection @push('scripts') @endpush