@extends('backend.layouts.app')
@section('title', 'Course Material List')
@push('styles')
@endpush
@section('content')
| {{__('#')}} |
{{__('Title')}} |
{{__('Lesson')}} |
{{__('Material Type')}} |
{{__('Content')}} |
{{__('Content Url')}} |
{{__('Action')}} |
@forelse ($material as $m)
| {{$m->id}} |
{{$m->title}} |
{{$m->lesson?->title}} |
{{ $m->type == 'video' ? __('Video') : ($m->type == 'document' ?
__('Document') : __('Quiz')) }}
|
|
{{$m->content_url}} |
|
@empty
| No Course Material Found |
@endforelse
@endsection
@push('scripts')
@endpush