title = $model->username; $this->params['breadcrumbs'][] = ['label' => Yii::t('rbac-admin', 'Users'), 'url' => ['index']]; $this->params['breadcrumbs'][] = $this->title; $controllerId = $this->context->uniqueId . '/'; ?>
status == 0 && Helper::checkRoute($controllerId . 'activate')) { echo Html::a(Yii::t('rbac-admin', 'Activate'), ['activate', 'id' => $model->id], [ 'class' => 'btn btn-primary', 'data' => [ 'confirm' => Yii::t('rbac-admin', 'Are you sure you want to activate this user?'), 'method' => 'post', ], ]); } ?> $model->id], [ 'class' => 'btn btn-danger', 'data' => [ 'confirm' => Yii::t('yii', 'Are you sure you want to delete this item?'), 'method' => 'post', ], ]); } ?>
= DetailView::widget([ 'model' => $model, 'attributes' => [ 'username', 'email:email', 'created_at:date', 'status', ], ]) ?>