{{-- /admin/course_lesson.php?id= — AdminCourseController::editLesson(): text, video and materials of one lesson. --}} @extends('layouts.app') @section('title', $lesson->title) @section('content')
{{ $course->title }} · {{ $lesson->module_title }}
@csrf
{{ __('Ссылка на YouTube встроится в урок, любая другая будет показана кнопкой.') }}
@if ($embedUrl)
@endif
{{ __('Материалы') }}
@csrf
{{ __('PDF, Word, PowerPoint, Excel, картинки, MP3/MP4, ZIP — до :mb МБ.', ['mb' => \App\Http\Controllers\AdminCourseController::COURSE_MATERIAL_MAX_KB / 1024]) }}
@csrf
{{ __('Задачи') }}
    @forelse ($tasks as $t)
  1. {{ $t->question }}
    @foreach ($t->options as $j => $o){{ $j + 1 }}) {{ $o }}@endforeach
    @csrf
  2. @empty
  3. {{ __('Задач пока нет.') }}
  4. @endforelse
@csrf
@csrf
@endsection