title = 'Исполнители задачи'; $this->params['breadcrumbs'][] = $this->title; ?>

'btn btn-success']) ?>

render('_search_by_project', [ 'model' => $searchModel, ]) ?> $dataProvider, 'filterModel' => $searchModel, 'columns' => [ ['class' => 'yii\grid\SerialColumn'], [ 'attribute' => 'task_id', 'value' => 'task.title', 'filter' => Select2::widget([ 'model' => $searchModel, 'attribute' => 'task_id', 'data' => Task::find()->select(['title', 'id'])->indexBy('id')->column(), 'pluginOptions' => [ 'allowClear' => true, 'width' => '250px', ], 'options' => [ 'class' => 'form-control', 'placeholder' => 'Выберите значение' ], ]) ], [ 'attribute' => 'project_user_id', 'value' => 'projectUser.user.username', 'filter' => Select2::widget([ 'model' => $searchModel, 'attribute' => 'project_user_id', 'data' => ProjectUser::find()->select(['user.username', 'project_user.id']) ->joinWith('user')->indexBy('project_user.id')->column(), 'pluginOptions' => [ 'allowClear' => true, 'width' => '250px', ], 'options' => [ 'class' => 'form-control', 'placeholder' => 'Выберите значение' ], ]) ], ['class' => 'yii\grid\ActionColumn'], ], ]); ?>