2014-04-19 09:40:02
<div  style="width: 500px; margin: auto ">
 
    <div class="span6 center">
        <?php echo $this->Session->flash(); ?>
    <?php echo $this->Form->create('User'); ?>
         <fieldset>
              <legend><?php echo __('Change Password'); ?></legend>
         <?php
                    echo $this->Form->input('current_password',array('label'=>'Old password','value'=>'','type'=>'password'));
                    echo $this->Form->input('password',array('label'=>'New password','type'=>'password'));
                    echo $this->Form->input('password_confirmation',array('label'=>'Confirm password','type'=>'password'));
         ?>
         </fieldset>
    <?php echo $this->Form->end(__('Save  change'), array('class'=>'uibutton')); ?>
    </div>
 
    <div class="span6">
        <img src="<?php echo $this->webroot ?>img/avatar/<?php echo $current_user['avatar'] ?>" width='100%' alt="Online" />
    </div>
 
</div>
<script type="text/javascript">
$(document).ready(function() {
     $('#task_name').text('Change password');
});
</script>
Invalid Email or Password