Измените ваши персональные данные или пароль здесь.
Изменить пароль
= $passwordForm->field($passwordModel, 'oldpass')
->passwordInput() ?>
= $passwordForm->field($passwordModel, 'newpass')
->passwordInput() ?>
= $passwordForm->field($passwordModel, 'repeatnewpass')
->passwordInput() ?>
= Html::submitButton(
' Сохранить новый пароль',
[ 'class' => 'btn btn-template-main' ]
) ?>
Персональные данные
= $userForm->field($userModel, 'name') ?>
= $userForm->field($userModel, 'address')
->textInput() ?>
= $userForm->field($userModel, 'city')
->textInput() ?>
= $userForm->field($userModel, 'gender')
->dropDownList(
[
1 => \Yii::t('app', 'Муж.'),
2 => \Yii::t('app', 'Жен.'),
],
[
'prompt' => \Yii::t('app', 'Пол'),
]
) ?>
= $userForm->field($userModel, 'email')
->textInput() ?>
= $userForm->field($userModel, 'phone')
->textInput() ?>
= $userForm->field($userModel, 'birthDate')
->widget(
DatePicker::className(),
[
'options' => [
'placeholder' => \Yii::t('app', 'Дата рождения ...'),
],
'pluginOptions' => [
'autoclose' => true,
'format' => 'dd.mm.yyyy',
],
]
) ?>
= Html::submitButton(
' Сохранить изменения',
[
'class' => 'btn btn-template-main',
]
) ?>
= $this->render('_menu') ?>