| Server IP : 180.180.241.3 / Your IP : 216.73.216.35 Web Server : Microsoft-IIS/7.5 System : Windows NT NETWORK-NHRC 6.1 build 7601 (Windows Server 2008 R2 Standard Edition Service Pack 1) i586 User : IUSR ( 0) PHP Version : 5.3.28 Disable Function : NONE MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /AppServ/www/app/View/Users/ |
Upload File : |
<div class="login-con">
<div class="panel panel-default">
<div class="panel-heading"><h3><?php echo __('ตั้งรหัสผ่านใหม่') ?></h3></div>
<div class="panel-body">
<?php echo $this->Form->create('User', array(
'id' => 'lostpassword-form',
'class' => 'admin-lost'
)); ?>
<div class="form-group">
<?php echo $this->Form->input('password', array(
'label' => __('กรุณาใส่รหัสผ่านใหม่'),
'autocomplete' => 'off',
'class' => 'required medium form-control',
)); ?>
</div>
<div class="form-group">
<?php echo $this->Form->input('password_repeat', array(
'type' => 'password',
// 'value' => '',
'name' => 'password_again',
'label' => __('กรอกรหัสผ่านอีกครั้ง'),
'autocomplete' => 'off',
'class' => 'required medium form-control'
));
?>
</div>
<div class="clearfix">
<?php echo $this->Form->submit(__('ดำเนินการ'),
array('class' => 'btn btn-primary pull-right')); ?>
</div>
<?php echo $this->Form->end(); ?>
</div>
</div>
</div> <!-- /container -->
<script>
$(function() {
$( '#lostpassword-form' ).validate({
rules: {
password_again: {
equalTo: '#UserPassword'
}
}
});
});
</script>