title = Yii::t('user', 'Profile: {username}', ['username' => $user->username]); $this->params['breadcrumbs'][] = ['label' => $user->username, 'url' => ['view', 'id' => $user->id]]; $this->params['breadcrumbs'][] = Yii::t('user', 'Profile'); ?>
<?= Yii::$app->user->identity->user->username ?>
field($model, 'user_pic')->widget(\kartik\widgets\FileInput::class, [ 'options' => [ 'accept' => 'image/*' ], 'pluginOptions' => [ 'showPreview' => false, 'showCaption' => true, 'showRemove' => true, 'showUpload' => false ], ]); ?>
field($model, 'username')->textInput(['maxLength' => true]) ?> field($model, 'email')->textInput(['maxLength' => true]) ?> field($model, 'password')->passwordInput(['maxLength' => true]) ?> field($model, 'backend_language')->dropDownList(Yii::$app->params['backendTranslatedLanguages'], [ 'value' => Yii::$app->user->identity->user->backend_language ?: Yii::$app->params['backendDefaultLanguage'], ]) ?>
'btn btn-primary']) ?>