Created
April 9, 2012 11:07
-
-
Save NickToye/2342893 to your computer and use it in GitHub Desktop.
block_change_account.htm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div id="change_account" class="accounts col span_8"> | |
<?= open_form() ?> | |
<ul class="form"> | |
<li class="field text left"> | |
<label for="first_name">First Name <span class="required">*</span></label> | |
<div class="text-box"><input id="first_name" name="first_name" type="text" value="<?= $this->customer->first_name ?>" /></div> | |
</li> | |
<li class="field text right"> | |
<label for="last_name">Last Name <span class="required">*</span></label> | |
<div class="text-box"><input id="last_name" name="last_name" type="text" value="<?= $this->customer->last_name ?>" /></div> | |
</li> | |
<li class="field text"> | |
<label for="email">Email <span class="required">*</span></label> | |
<div class="text-box"><input id="email" type="text" name="email" value="<?= $this->customer->email ?>" /></div> | |
</li> | |
</ul> | |
<div class="submit-box right clear-both"> | |
<input type="submit" onclick="return $(this).getForm().sendRequest('profile:on_updateAccount', { | |
extraFields: {'no_flash': true}, | |
onSuccess: function() { | |
} | |
})" value="Save" /> | |
</div> | |
<?= close_form() ?> | |
<?= open_form() ?> | |
<ul class="form"> | |
<li class="text"> | |
<label for="old_password">Old Password <span class="required">*</span></label> | |
<div class="text-box"><input id="old_password" type="password" name="old_password" /></div> | |
</li> | |
<li class="field text left"> | |
<label for="password">New Password <span class="required">*</span></label> | |
<div class="text-box"><input id="password" type="password" name="password" /></div> | |
</li> | |
<li class="text right"> | |
<label for="password_confirm">Password Confirmation <span class="required">*</span></label> | |
<div class="text-box"><input id="password_confirm" type="password" name="password_confirm" /></div> | |
</li> | |
</ul> | |
<div class="submit-box right clear-both"> | |
<input type="submit" onclick="return $(this).getForm().sendRequest('profile:on_updatePassword', { | |
extraFields: {'no_flash': true}, | |
onSuccess: function() { | |
} | |
})" value="Save" /> | |
</div> | |
<?= close_form() ?> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment