echo $form->labelEx($model, 'color_id'); ?> <?php echo $form->textField($model, 'color_id'); ?> <?php echo $form->error($model, 'color_id'); ?> --> <?php echo 'لــون السيارة'; ?> <?php echo $form->dropDownList($model, 'color_id', CHtml::listData(colors::model()->findAll(), 'color_id', 'color_name')); ?> </div> <div class="row"> <?php echo $form->labelEx($model, 'chass_no'); ?> <?php echo $form->textField($model, 'chass_no', array('size' => 60, 'maxlength' => 255)); ?> <?php echo $form->error($model, 'chass_no'); ?> </div>