title = 'Тестовые задания'; $this->params['breadcrumbs'][] = $this->title; ?>

'btn btn-success']) ?>

$dataProvider, 'filterModel' => $searchModel, 'columns' => [ ['class' => 'yii\grid\SerialColumn'], // 'id', 'description', [ 'attribute' => 'link', 'value' => function ($model) { return Html::a(Html::encode($model->link), Url::to($model->link)); }, 'format' => 'raw', ], [ 'attribute' => 'level', 'format' => 'raw', 'filter' => TestTask::getLevelList(), 'value' => function($model){ return TestTask::getLevelLabel($model->level); } ], [ 'attribute' => 'status', 'format' => 'raw', 'filter' => StatusHelper::statusList(), 'value' => function($model){ return StatusHelper::statusLabel($model->status); } ], ['class' => 'yii\grid\ActionColumn'], ], ]); ?>