/var/www/vhosts/nabawater/frontend/views/user
Edit: /var/www/vhosts/nabawater/frontend/views/user/profile.php (14758B)
render('/user/_userInfo');
$model->setScenario(User::PROFILE_UPDATE);
$form = CActiveForm::begin(['options' => ['enctype' => 'multipart/form-data', 'id'=>'profile_update']])->setModel($model);
$uploadHelper = UploadHelper::getInstance();
?>
= $this->render('/user/_userMenu');?>
= $form->field($model, 'first_name')
->textInput(['placeholder' => yii::t('frontend', 'First name')])
->label(false);
?>
= $form->field($model, 'last_name')
->textInput(['placeholder' => yii::t('frontend', 'Last name')])
->label(false);
?>
= $form->field($model, 'email')
->textInput(['placeholder' => yii::t('frontend', 'email'),'readonly'=> true])
->label(false);
?>
= $form->field($model, 'mobile_number')
->textInput(['placeholder' => yii::t('frontend', 'mobile number'),'class' => 'form-control mobile-country'])
->label(false);
?>
= $form->field($model, 'weight')
->textInput(['placeholder' => yii::t('frontend', 'Weight')])
->label(false);
?>
= $form->field($model, 'height')
->textInput(['placeholder' => yii::t('frontend', 'Height'), 'class' => 'form-control'])
->label(false);
?>
= $form->field($model, 'gender')->radiolist(
['1' => 'Male', '2' => 'Female']
)->label(false); ?>
= $form->field($model, 'DOB')
->textInput(['placeholder' => yii::t('frontend', 'DOB'),'class'=>'form-control', 'id' => 'dob'])
->label(false);
?>
= yii::t('frontend','Change Password') ?>
= $form->field($model, 'old_password')
->passwordInput(['placeholder' =>yii::t('frontend', 'Enter current password'), "autocomplete"=>"new-password"])
->label(false)
?>
= $form->field($model, 'new_password')
->passwordInput(['placeholder' =>yii::t('frontend', 'Enter new password')])
->label(false);
?>
= $form->field($model, 'confirm_password')
->passwordInput(['placeholder' =>yii::t('frontend', 'Enter confirm password')])
->label(false)
?>