yiisoft/yii — pull request #2370 by creocoder (2013-04-18 17:19:03+00:00)
Title: [WIP] New template placeholders for CHtml::radioButtonList() and CHtml::checkBoxList()

Why? Because sometimes you need html like this, especially if using twitter bootstrap:

```

Не важно

Мужской

Женский

```

How? Simple:

```
radioButtonList($model,'gender',$model->genderOptions,array(
'template'=>'{beginLabel}{input} {labelTitle}{endLabel}',
'labelOptions'=>array('class'=>'radio inline'),
'separator'=>"\n",
)); ?>
```