<div class="form">
    <fieldset>
        <legend>修改密码</legend>
    <?php
    $form = $this->beginWidget('CActiveForm', array(
            'id'=>'member-form',
            'htmlOptions' => array(
                'class' => 'form',
            ),
        )
    );
    ?>
    <?php echo Yii::app()->adminUser->getFlash('ChangePassword');?>
    <div class="clearfix">
        <label>旧密码:</label>
        <?php echo $form->textField($model,'oldPassword', array('class' => 'input'));?>
        <?php echo $form->error($model,'oldPassword');?>
    </div>

    <div class="clearfix">
        <label>新密码:</label>
        <?php echo $form->textField($model,'newPassword', array('class' => 'input'));?>
        <?php echo $form->error($model,'newPassword');?>
    </div>

    <div class="clearfix">
        <label>重复密码:</label>
        <?php echo $form->textField($model,'newPasswordConfirm', array('class' => 'input'));?>
        <?php echo $form->error($model,'newPasswordConfirm');?>
    </div>
    <div style="margin-left: 140px;">
        <?php echo CHtml::submitButton('提交修改', array('class' => 'lbtn primary'));?>
    </div>
    <?php $this->endWidget();?>
    </div>
    </fieldset>
</div>
<style type="text/css">
label {float: left;font-weight: bold;font-size: 13px; line-height: 18px;padding-top: 6px;text-align: right;width: 130px;}
</style>