title = $model->username; $this->params['breadcrumbs'][] = ['label' => 'Users', 'url' => ['index']]; $this->params['breadcrumbs'][] = $this->title; ?>

'btn btn-outline-primary btn-sm']) ?> $model->id], ['class' => 'btn btn-primary btn-sm']) ?> $model->id], [ 'class' => 'btn btn-danger btn-sm', 'data' => [ 'confirm' => Yii::t('buttons', 'Are you sure you want to delete this item?'), 'method' => 'post', ], ]) ?>

$model, 'attributes' => [ 'id', 'username', 'email:email', [ 'attribute' => 'status', 'value' => UserHelper::statusLabel($model->status), 'format' => 'raw', ], [ 'label' => Yii::t('user', 'Role'), 'value' => implode(', ', ArrayHelper::getColumn(Yii::$app->authManager->getRolesByUser($model->id), 'description')), 'format' => 'raw', ], [ 'attribute' => 'created_at', 'format' => ['datetime', 'php:d.m.Y H:i'], ], [ 'attribute' => 'updated_at', 'format' => ['datetime', 'php:d.m.Y H:i'], ], ], ]) ?>