title = $model->name; $this->params['breadcrumbs'][] = ['label' => 'Users', 'url' => ['user']]; $this->params['breadcrumbs'][] = $this->title; YiiAsset::register($this); ?>
= Html::a('Update', ['user-update', 'id' => $model->id], ['class' => 'btn btn-primary']) ?> = Html::a('Delete', ['user-delete', 'id' => $model->id], [ 'class' => 'btn btn-danger', 'data' => [ 'confirm' => 'Are you sure you want to delete this item?', 'method' => 'post', ], ]) ?>
= DetailView::widget([ 'model' => $model, 'attributes' => [ 'id', 'username', 'name', 'password', 'auth_key', 'email:email', 'status', 'created_at', 'last_login', 'last_login_ip', 'bio:ntext', 'role', 'encryption_key', 'otp_secret', 'is_encryption_enabled', 'is_otp_enabled', 'storage_limit', 'recovery_codes', 'dark_mode', 'vault_secret', 'vault_salt', ], ]) ?>