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

/** @var AnalyticsSchoolLesson $model */
/** @var \yii\data\ActiveDataProvider $files */
?>

<h1>Просмотр стоп слова #<?= $model->id; ?></h1>

<div class="analytics-school-view">
    <?=
    DetailView::widget([
        'model' => $model,
        'attributes' => [
            'id',
            [
                'attribute' => 'active',
                'value' => ($model->active==1) ? 'Активно' : 'Не активно'
            ],
            'word'
        ],
    ]);
    ?>
</div>
