Yii Booster, Chekboxrow Removing Label


I am able to generate a checkbox using following line of code:

// bootstrap.widgets.TbActiveForm

$form->checkboxRow($model, 'setMenu');

I would like to remove the label. I tried something this:

$form->checkboxRow($model, 'setMenu', array('labelOptions' => array("label" => false));

However, the label did not disappear. How can I remove the label?


$form->textareaRow($model, 'setMenu[bulk]['.$mtid.']', array('labelOptions' => array("label" => false)));

works fine and the textarea is rendered without a label.

Thank you, Martin.

Good question ! I also would really like to have a good solution for this problem.