=Yii::t('app','Change your personal data or password here.')?>
=Yii::t('app','Change password')?>
= $passwordForm->field($passwordModel, 'oldpass')
->passwordInput() ?>
= $passwordForm->field($passwordModel, 'newpass')
->passwordInput() ?>
= $passwordForm->field($passwordModel, 'repeatnewpass')
->passwordInput() ?>
= Html::submitButton(
' ' .Yii::t('app','Save new password'),
[ 'class' => 'btn btn-template-main' ]
) ?>
=Yii::t('app','Personal data')?>
= $userForm->field($userModel, 'name') ?>
= $userForm->field($userModel, 'address')
->textInput() ?>
= $userForm->field($userModel, 'city')
->textInput() ?>
= $userForm->field($userModel, 'gender')
->dropDownList(
[
1 => \Yii::t('app', 'male'),
2 => \Yii::t('app', 'female'),
],
[
'prompt' => \Yii::t('app', 'Gender'),
]
) ?>
= $userForm->field($userModel, 'email')
->textInput() ?>
= $userForm->field($userModel, 'phone')
->textInput() ?>
= $userForm->field($userModel, 'birthDate')
->widget(
DatePicker::className(),
[
'options' => [
'placeholder' => \Yii::t('app', 'Birthday'),
],
'pluginOptions' => [
'autoclose' => true,
'format' => 'dd.mm.yyyy',
],
]
)
->label(\Yii::t('app', 'Birthday'))?>
= Html::submitButton(
' ' .Yii::t('app','Save changes'),
[
'class' => 'btn btn-template-main',
]
) ?>
= $this->render('_menu') ?>