标签:style color for ar div html htm on
<div class="control-group">
<?php echo $form->labelEx($model,‘project_id‘,array(‘class‘ => ‘control-label‘)); ?>
<div class="controls">
<?php
$project =Project::model()->findAll();
$list = CHtml::listData($project,‘project_id‘,‘name‘);
echo $form->dropDownList($model,‘project_id‘, $list);
?>
<?php echo $form->error($model,‘project_id‘); ?>
</div>
</div>
$form->dropDownList,布布扣,bubuko.com
标签:style color for ar div html htm on
原文地址:http://www.cnblogs.com/chk520/p/3914461.html