{{ !empty($quizInfo) ? $quizInfo->title : trans('public.add_new_quizzes') }}
@if(!empty($quizInfo) and $quizInfo->status != \App\Models\WebinarChapter::$chapterActive)
{{ trans('public.disabled') }}
@endif
@if(!empty($quizInfo) and !empty($chapterItem))
@endif
@if(!empty($chapter))
@endif
@if(!empty($quizInfo))
@endif
@include('admin.quizzes.create_quiz_form',
[
'inWebinarPage' => true,
'selectedWebinar' => $webinar,
'quiz' => $quizInfo ?? null,
'quizQuestions' => !empty($quizInfo) ? $quizInfo->quizQuestions : [],
'chapters' => $webinar->chapters,
'webinarChapterPages' => !empty($webinarChapterPages),
'creator' => $webinar->creator
]
)