/** * Renders a form control that is implemented via a widget. */ protected function renderWidget() { $input = parent::renderInput(); return BsHtml::activeControlGroup(null, $this->getParent()->getModel(), $this->name, array('input' => $input)); }