The following code:
echo CHtml::RadioButtonList('id', '', array('Male'=>'Male','Female'=>'Female'));
will generate:
<input value="Male" id="id_0" type="radio" name="id">
<label for="id_0">Male</label>
<br>
<input value="Female" id="id_1" type="radio" name="id">
<label for="id_1">Female</label>
Other tricks:
Display them inline without '<br>' separator:
echo CHtml::RadioButtonList('id', '', array('Male'=>'Male','Female'=>'Female'),
array('labelOptions'=>array('style'=>'display:inline'), separator'=>''));
Harrah's Philadelphia Casino & Racetrack - KTHUB
ReplyDeleteHarrah's Philadelphia Casino 논산 출장마사지 & Racetrack in 양산 출장마사지 Chester, PA. Find details for Harrah's Philadelphia 사천 출장마사지 Casino 울산광역 출장안마 & Racetrack 경상북도 출장샵 in Chester, PA.