<?php $monthList = CHtml::listData(DateHelper::monthList(), 'value', 'label'); ?>
<?php $dayList = CHtml::listData(DateHelper::dayList(), 'value', 'label'); ?>
<?php $form=$this->beginWidget('bootstrap.widgets.TbActiveForm',array(   'id'=>'special-day-form','enableAjaxValidation'=>false,));; ?>
<?php echo $form->textFieldRow($model,'name',array('class'=>'span5','maxlength'=>250)); ?>
<?php echo $form->textAreaRow($model,'description',array('class'=>'span5','maxlength'=>255)); ?>
<?php echo $form->dropDownListRow($model,'day', $dayList, array('class'=>'span1')); ?>
<?php echo $form->dropDownListRow($model,'month', $monthList, array('class'=>'span2')); ?>
<div class="form-actions">
  <?php $this->widget('bootstrap.widgets.TbButton', array(            'buttonType'=>'submit','type'=>'primary','label'=>$model->isNewRecord ? t('Create') : t('Save'),));; ?>
</div>
<?php $this->endWidget(); ?>
