public function checkBoxList($model, $attribute, $data, $htmlOptions = array()) { $htmlOptions['container'] = ''; $htmlOptions['separator'] = ''; return $this->label($model, $attribute) . '<fieldset data-role="controlgroup">' . parent::checkboxList($model, $attribute, $data, $htmlOptions) . '</fieldset>'; }