title = 'Users'; $this->params['breadcrumbs'][] = $this->title; ?>
= Html::a('Create User', ['create'], ['class' => 'btn btn-success']) ?>
render('_search', ['model' => $searchModel]); ?> = GridView::widget([ 'dataProvider' => $dataProvider, 'filterModel' => $searchModel, 'columns' => [ ['class' => 'yii\grid\SerialColumn'], 'id', 'username', 'password', 'auth_key', 'email:email', //'status', [ 'class' => ActionColumn::className(), 'urlCreator' => function ($action, User $model, $key, $index, $column) { return Url::toRoute([$action, 'id' => $model->id]); } ], ], ]); ?>