@extends('admin.layouts.app') @section('title', 'Manage Course Materials') @section('content')

Manage Materials - {{ $unit->title }}

Study Materials
Back to Content
@if($materials->count() > 0)
@foreach($materials as $material)
{{ $material->title }}
@if($material->description)

{{ Str::limit($material->description, 100) }}

@endif
{{ $material->type_label }} {{ $material->access_type_label }} {{ $material->status_label }}
Order: {{ $material->sort_order }} @if($material->type === 'video') @if($material->hasVideo()) @else @endif @endif @if($material->type === 'text' || $material->type === 'document') @if($material->hasNote()) @else @endif @endif
@endforeach
@else
No materials found

Start by adding your first study material.

@endif
@endsection