beginContent(__DIR__ . '/update.php', ['user' => $user]) ?>
= $form->field($profile, 'avatar')->widget(SingleWidget::className(), ['onlyUrl' => true]) ?>
= $form->field($profile, 'province')->textInput() ?>
= $form->field($profile, 'city')->textInput() ?>
//= $form->field($profile, 'area')->label('所在地')->widget(CityWidget::className(), [
// 'provinceAttribute' => 'province',
// 'cityAttribute' => 'city',
// 'areaAttribute' => 'area'
//]) ?>
= $form->field($profile, 'gender')->dropDownList(GenderEnum::$list) ?>
= $form->field($profile, 'signature')->textarea() ?>
//= $form->field($profile, 'voice_id')->textInput() ?>
= Html::submitButton(Yii::t('app', 'Update'), ['class' => 'btn bg-maroon btn-flat btn-block']) ?>
endContent() ?>