<?php Yii::app()->clientScript->scriptMap = array('jquery.js'=>false);?>
<div class="form">
<fieldset>
    <legend>重设 <?php echo $member->username;?> 的密码</legend>
    <?php
    $form = $this->beginWidget('CActiveForm', array(
            'id' => 'upassword',
            'enableAjaxValidation' => true,
            //'enableClientValidation' => true,
            'htmlOptions' => array(
                'class' => 'form',
            ),
        )
    );
    ?>
    新密码：<?php echo $form->textField($member, 'password', array('value'=>''));?><?php echo $form->error($member, 'password');?>
    <br/>
    <?php echo CHtml::ajaxSubmitButton('保存', '', array('success'=>'js:function(status){ if (1 == status) {$.fancybox.close();}}')); ?>
    <?php $this->endWidget();?>
</fieldset>
</div>