@push('styles_top') @endpush

{{ trans('public.faq') }} ({{ trans('public.optional') }})

@if(!empty($webinar->faqs) and count($webinar->faqs))
    @foreach($webinar->faqs as $faqInfo) @include('web.default.panel.webinar.create_includes.accordions.faq',['webinar' => $webinar,'faq' => $faqInfo]) @endforeach
@else @include(getTemplate() . '.includes.no-result',[ 'file_name' => 'faq.png', 'title' => trans('public.faq_no_result'), 'hint' => trans('public.faq_no_result_hint'), ]) @endif
@include('web.default.panel.webinar.create_includes.accordions.faq',['webinar' => $webinar])
@foreach(\App\Models\WebinarExtraDescription::$types as $webinarExtraDescriptionType)

{{ trans('update.'.$webinarExtraDescriptionType) }} ({{ trans('public.optional') }})

@php $webinarExtraDescriptionValues = $webinar->webinarExtraDescription->where('type',$webinarExtraDescriptionType); @endphp
@if(!empty($webinarExtraDescriptionValues) and count($webinarExtraDescriptionValues))
    @foreach($webinarExtraDescriptionValues as $learningMaterialInfo) @include('web.default.panel.webinar.create_includes.accordions.extra_description', [ 'webinar' => $webinar, 'extraDescription' => $learningMaterialInfo, 'extraDescriptionType' => $webinarExtraDescriptionType, 'extraDescriptionParentAccordion' => $webinarExtraDescriptionType.'_accordion', ] ) @endforeach
@else @include(getTemplate() . '.includes.no-result',[ 'file_name' => 'faq.png', 'title' => trans("update.{$webinarExtraDescriptionType}_no_result"), 'hint' => trans("update.{$webinarExtraDescriptionType}_no_result_hint"), ]) @endif
@include('web.default.panel.webinar.create_includes.accordions.extra_description', [ 'webinar' => $webinar, 'extraDescriptionType' => $webinarExtraDescriptionType, 'extraDescriptionParentAccordion' => $webinarExtraDescriptionType.'_accordion', ] )
@endforeach @push('scripts_bottom') @endpush