Learning Paths
@if ($activity->learningPath->count() > 0)
@foreach ($activity->learningPath as $path)
{{ $path->title }}
{{ $path->description }}
@endforeach
@else
No learning paths. Add the first learning path.
@endif
@if ($activity->highlights->count() > 0)
@foreach ($activity->highlights as $highlight)
{{ $highlight->title }}
{{ $highlight->description }}
@endforeach
@else
No highlights. Add the first highlight.
@endif
Testimonials
@if ($activity->testimonials->count() > 0)
@foreach ($activity->testimonials as $testimonial)
{{ $testimonial->name }}
{{ $testimonial->content }}
@endforeach
@else
No testimonials. Add the first testimonial.
@endif
@if ($activity->gallery->count() > 0)
@foreach ($activity->gallery as $image)
{{--
@endforeach
@else
No images. Add the first image.
@endif
@if ($activity->faqs->count() > 0)
@foreach ($activity->faqs as $faq)
{{ $faq->question }}
{{ $faq->answer }}
@endforeach
@else
No FAQs. Add the first FAQ.
@endif