echo $form->radioButtonList($person,’gender_code’, array(‘m’=>’Male’,'f’=>’Female’),array(‘separator’=>”));
echo $form->radioButtonList($model, 'version', Job::model()->getversions(), array('template' => '
{input} {label}', 'separator' => ' ')); ?>
// 或者
echo CHtml::radioButtonList('version','0', Job::model()->
getversions(),
array('template' => '
{input} {label}', 'separator' => ' ')); ?>