title = 'Вакансии'; $this->params['breadcrumbs'][] = $this->title; ?>
render('_search', ['model' => $searchModel]); ?> $dataProvider, 'filterModel' => $searchModel, 'columns' => [ ['class' => 'yii\grid\SerialColumn'], //'id', [ 'attribute' => 'employer_id', 'value' => function ($model) { return isset($model->hhcompany->title) ? $model->hhcompany->title : ''; }, 'filter' => kartik\select2\Select2::widget([ 'model' => $searchModel, 'attribute' => 'employer_id', 'data' => $hhCompanies, 'options' => ['placeholder' => 'Начните вводить...','class' => 'form-control'], 'pluginOptions' => [ 'allowClear' => true ], ]), ], //'hh_id', 'title', 'url:url', 'salary_from', 'salary_to', 'salary_currency', 'address', 'dt_add:date', [ 'class' => 'yii\grid\ActionColumn', 'template' => '{view} {delete}' ], ], ]); ?>