<?php
use yii\widgets\DetailView;
use \common\modules\analyticsSchool\models\AnalyticsSchoolLesson;

/** @var AnalyticsSchoolLesson $model */
?>

<h1>Просмотр урока #<?= $model->id; ?></h1>

<div class="analytics-school-view">
    <?=
    DetailView::widget([
        'model' => $model,
        'attributes' => [
            'id',
            'name',
            [
                'attribute' => 'course_id',
                'value' => $model->course->name
            ],
            'video_link',
            'content:ntext',
        ],
    ]);
    ?>
</div>
