<?php
/**
 * Avalanche for Magento 1.8+
 * Designed by Fast Division (http://fastdivision.com)
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the EULA
 * that is bundled with this package in the file license.txt.
 * It is also available through the world-wide-web at this URL:
 * http://fastdivision.com/legal/license.txt
 *
 * @author     Fast Division
 * @version    1.5.0
 * @copyright  Copyright 2013 Fast Division
 * @license    http://fastdivision.com/legal/license.txt
 */
?>
<div class="grid_12 white-box">
    <h1><?php echo $this->__('Change Password?') ?></h1>

	<div class="page-messages">
		<?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
	</div>
	
	<form action="<?php echo $action ?>" method="post" id="form-validate">
	<div class="fieldset">
	    <h2 class="legend"><?php echo $this->__('Change Account Password') ?></h2>
	    <ul class="form-list">
	        <li>
	            <label for="current_password" class="required"><em>*</em><?php echo $this->__('Current Password') ?></label>
	            <div class="input-box">
	                <input type="password" title="<?php echo $this->__('Current Password') ?>" class="input-text required-entry" name="current_password" id="current_password" />
	            </div>
	        </li>
	        <li class="fields">
	            <div class="field">
	                <label for="password" class="required"><em>*</em><?php echo $this->__('New Password') ?></label>
	                <div class="input-box">
	                    <input type="password" title="<?php echo $this->__('New Password') ?>" class="input-text required-entry validate-password" name="password" id="password" />
	                </div>
	            </div>
	            <div class="field">
	                <label for="confirmation" class="required"><em>*</em><?php echo $this->__('Confirm New Password') ?></label>
	                <div class="input-box">
	                    <input type="password" title="<?php echo $this->__('Confirm New Password') ?>" class="input-text required-entry validate-cpassword" name="confirmation" id="confirmation" />
	                </div>
	            </div>
	        </li>
	    </ul>
	</div>
	<div class="buttons-set">
	    <p class="required"><?php echo $this->__('* Required Fields') ?></p>
	    <p class="back-link"><a href="<?php echo $this->getUrl('customer/account') ?>"><small>&laquo; </small><?php echo $this->__('Back') ?></a></p>
	    <button type="submit" title="<?php echo $this->__('Save Password') ?>" class="button"><span><span><?php echo $this->__('Save Password') ?></span></span></button>
	</div>
	</form>
	<script type="text/javascript">
	//<![CDATA[
	    var dataForm = new VarienForm('form-validate');
	//]]>
	</script>
</div>
