echo $form->labelEx($model, 'channel_count'); ?> <?php echo $form->textField($model, 'channel_count'); ?> <?php echo $form->error($model, 'channel_count'); ?> </div> <div class="row"> <?php echo $form->labelEx($model, 'module_type_id'); ?> <?php echo $form->dropDownList($model, 'module_type_id', ModuleType::items()); ?> <?php echo $form->error($model, 'module_type_id'); ?> </div> <div class="row buttons"> <?php echo CHtml::submitButton($model->isNewRecord ? 'Create' : 'Save'); ?> </div> <?php $this->endWidget(); ?>