model->getAttributeLabel($this->attribute)); } $this->parts['{input}'] = Html::activeCheckbox($this->model, $this->attribute, $options); $this->parts['{label}'] = ''; } else { $this->parts['{input}'] = Html::activeCheckbox($this->model, $this->attribute, $options); } return $this; } }