Hi,
Can any one suggest me how to add CSS for a Table.
As in the Example
<span id="Zone_status">
<label class="radio">
<input type="radio" name="Zone[status]" value="1" id="Zone_status_0" class="true">Enable</label>
<label class="radio">
<input type="radio" name="Zone[status]" value="0" id="Zone_status_1" class="true">Disable</label>
</span>
Here the class added to <input> tab , but i want to add to <label> tab ,can any one did this.?
i have used Yii Booster
<?php
echo $form->radioButtonListRow($model, 'status',
array('1'=>'Enable','0'=>'Disable'),
array('class' => 'true')
);
?>
jkofsky
(Jkofsky)
2
It looks like you can only do that externaly
<div class="true">
<?php
echo $form->radioButtonListRow($model, 'status',
array('1'=>'Enable','0'=>'Disable'),
);
?>
</div>
is there any chance of htmlOption in this
jkofsky
(Jkofsky)
4
Not according to the docs. Maybe in Yii2.