<?php echo $form->dropDownList($model,'department', CHtml::listData(Departments::model()->findAll("activation=1"), 'name', 'name'), array('empty'=>'--please select--')); ?>
No comments:
Post a Comment