woocommerce/templates/myaccount/change-password.php

28 lines
968 B
PHP
Raw Normal View History

<?php
/**
* Change Password Form
*/
global $woocommerce;
?>
<?php $woocommerce->show_messages(); ?>
2012-01-06 17:14:31 +00:00
<form action="<?php echo esc_url( get_permalink(woocommerce_get_page_id('change_password')) ); ?>" method="post">
<p class="form-row form-row-first">
2012-01-05 11:31:22 +00:00
<label for="password_1"><?php _e('New password', 'woocommerce'); ?> <span class="required">*</span></label>
<input type="password" class="input-text" name="password_1" id="password_1" />
</p>
<p class="form-row form-row-last">
2012-01-05 11:31:22 +00:00
<label for="password_2"><?php _e('Re-enter new password', 'woocommerce'); ?> <span class="required">*</span></label>
<input type="password" class="input-text" name="password_2" id="password_2" />
</p>
<div class="clear"></div>
2012-01-05 11:31:22 +00:00
<p><input type="submit" class="button" name="change_password" value="<?php _e('Save', 'woocommerce'); ?>" /></p>
<?php $woocommerce->nonce_field('change_password')?>
<input type="hidden" name="action" value="change_password" />
</form>