<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
    'id'=>'auth-form',
    'enableAjaxValidation'=>false,
));
?>

    <fieldset>
    <legend><?php echo $title;?></legend>
 
        <table width="640" border="0" cellpadding="0" cellspacing="0" bgcolor="#ffffff" class="list">
         <tr>
            <td nowrap="nowrap">类型：</td>
            <td><?php echo CHtml::dropDownList('type',2,array(1=>'Task',2=>'Role'))?></td>
        </tr>
        <tr>
            <td nowrap="nowrap">名称：</td>
            <td><?php echo CHtml::textField('name');?></td>
        </tr>

        <tr>
            <td nowrap="nowrap">说明：</td>
            <td><?php echo CHtml::textArea('description');?></td>
        </tr>
        <tr>
            <td nowrap="nowrap">Bizrule：</td>
            <td><?php echo CHtml::textArea('bizrule');?></td>
        </tr>
        </table>
         <div class="row buttons">
                <?php echo CHtml::submitButton('创建'); ?>
         </div>
          </fieldset>
<?php $this->endWidget(); ?>

</div>