protected function inlineGroup(&$fieldData, &$model, &$attribute, &$options) {
		
        $groupOptions = isset($options['groupOptions']) ? $options['groupOptions']: array(); // array('class' => 'form-group');
		self::addCssClass($groupOptions, 'form-group');
		
		echo CHtml::openTag('div', $groupOptions);

		 // TODO: do we need a wrapper for inline groups?
        if(isset($options['wrapperHtmlOptions']) && !empty($options['wrapperHtmlOptions']))
        	$wrapperHtmlOptions = $options['wrapperHtmlOptions'];
        else
        	$wrapperHtmlOptions = $options['wrapperHtmlOptions'] = array();
        echo CHtml::openTag('div', $wrapperHtmlOptions);
        
		if (!empty($options['prepend']) || !empty($options['append']))
			$this->renderAddOnBegin($options['prepend'], $options['append'], $options['prependOptions']);

		if (is_array($fieldData)) {
			echo call_user_func_array($fieldData[0], $fieldData[1]);
		} else {
			echo $fieldData;
		}

		if (!empty($options['prepend']) || !empty($options['append']))
			$this->renderAddOnEnd($options['append'], $options['appendOptions']);

        if ($this->showErrors && $options['errorOptions'] !== false) {
            echo $this->error($model, $attribute, $options['errorOptions'], $options['enableAjaxValidation'], $options['enableClientValidation']);
        }

        echo "</div></div>\r\n"; 
	}