<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'special-subject-form',
	'enableAjaxValidation'=>false,
)); ?>
<fieldset>
    <legend><?php echo $title;?></legend>
	<p class="note">Fields with <span class="required">*</span> are required.</p>

	<?php echo $form->errorSummary($model); ?>

	<div class="row">
		<?php echo $form->labelEx($model,'sid'); ?>
        <?php echo $form->textField($model,'sid', $sid); ?>
		<?php echo $form->error($model,'sid'); ?>
	</div>

    <div class="row">
		<?php echo $form->labelEx($model,'name'); ?>
		<?php echo $form->textField($model,'name');?>(推广名称，12个字左右)
		<?php echo $form->error($model,'name'); ?>
	</div>
    
	<div class="row">
		<?php echo $form->labelEx($model,'bid'); ?>
		<?php echo $form->textField($model,'bid'); ?>
		<?php echo $form->error($model,'bid'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'remarks'); ?>
		<?php echo $form->textArea($model,'remarks',array('rows'=>6, 'cols'=>50)); ?>
		<?php echo $form->error($model,'remarks'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'isimg'); ?>
		<?php echo $form->dropDownList($model, 'isimg', array(1=>'显示', 0=>'不显示'));?>
		<?php echo $form->error($model,'isimg'); ?>
	</div>

	<div class="row buttons">
		<?php echo CHtml::submitButton($model->isNewRecord ? '创建' : '保存'); ?>
	</div>
</fieldset>

<?php $this->endWidget(); ?>

</div>