title = Yii::t('rbac', 'Users'); $this->params['breadcrumbs'][] = $this->title; ?>

'btn btn-success btn-flat']) ?>

$dataProvider, 'filterModel' => $searchModel, 'columns' => [ ['class' => 'yii\grid\SerialColumn'], [ 'class' => 'yii\grid\DataColumn', 'attribute' => $usernameField, ], [ 'class' => 'yii\grid\ActionColumn', 'template' => '{view} {update}', 'buttons' => [ 'update' => function ($url, $model) { return Html::a('', [ '/user/update', 'id' => $model->id, ], [ 'title' => Yii::t('yii', 'Update'), 'aria-label' => Yii::t('yii', 'Update'), 'data-pjax' => '0', ]); }, 'view' => function ($url, $model) { return Html::a('', [ 'view', 'id' => $model->id, ], [ 'title' => Yii::t('rbac', 'Assigned'), 'aria-label' => Yii::t('rbac', 'Assigned'), 'data-pjax' => '0', ]); }, ], ], ], ]); Pjax::end(); ?>