title = 'Категории задач проекта'; $this->params['breadcrumbs'][] = $this->title; ?>
render('_search', ['model' => $searchModel]); ?>

'btn btn-success']) ?>

$dataProvider, 'filterModel' => $searchModel, 'columns' => [ ['class' => 'yii\grid\SerialColumn'], 'title', [ 'attribute' => 'project_id', 'value' => 'project.name', 'filter' => Select2::widget([ 'model' => $searchModel, 'attribute' => 'project_id', 'data' => Project::find()->select(['project.name', 'project.id']) ->indexBy('project.id')->column(), 'pluginOptions' => [ 'allowClear' => true, ], 'options' => [ 'class' => 'form-control', 'placeholder' => 'Выберите значение' ], ]) ], ['class' => 'yii\grid\ActionColumn'], ], ]); ?>