public function captchaGroup($model, $attribute, $options = array()) {
		
		$this->initOptions($options);
		$widgetOptions = $options['widgetOptions'];
		
		$this->addCssClass($widgetOptions['htmlOptions'], 'form-control');

		$fieldData = $this->textField($model, $attribute, $widgetOptions['htmlOptions']);
		unset($widgetOptions['htmlOptions']);
		$fieldData .= '<div class="captcha">' . $this->owner->widget('CCaptcha', $widgetOptions, true) . '</div>';

		return $this->customFieldGroupInternal($fieldData, $model, $attribute, $options);
	}
public function captchaGroup($model, $attribute, $options = array()) {
		
		$this->initOptions($options);
		$widgetOptions = $options['widgetOptions'];
		
		$this->addCssClass($widgetOptions['htmlOptions'], 'form-control');

		$fieldData = $this->textField($model, $attribute, $widgetOptions['htmlOptions']);
		unset($widgetOptions['htmlOptions']);
		$fieldData .= '<div class="captcha">' . $this->owner->widget('CCaptcha', $widgetOptions, true) . '</div>';

		return $this->customFieldGroupInternal($fieldData, $model, $attribute, $options);
	}
public function captchaGroup ( $ model , $ attribute , $ options = array ( ) ) { $ this -> initOptions ( $ options ) ; $ widgetOptions = $ options [ 'widgetOptions' ] ; $ this -> addCssClass ( $ widgetOptions [ 'htmlOptions' ] , 'form-control' ) ; $ fieldData = $ this -> textField ( $ model , $ attribute , $ widgetOptions [ 'htmlOptions' ] ) ; unset ( $ widgetOptions [ 'htmlOptions' ] ) ; $ fieldData .= '<div class="captcha">' . $ this -> owner -> widget ( 'CCaptcha' , $ widgetOptions , true ) . '</div>' ; return $ this -> customFieldGroupInternal ( $ fieldData , $ model , $ attribute , $ options ) ; }
Generates a color picker field group for a model attribute.

This method is a wrapper for {@link CCaptcha} widget, {@link textField} and {@link customFieldGroup}.
Please check {@link CCaptcha} documentation for detailed information about $widgetOptions.
Read detailed information about $htmlOptions in {@link CActiveForm::textField} method.
About $options argument parameters see {@link TbActiveForm} documentation.

@param CModel $model The data model.
@param string $attribute The attribute.
@param array $options Group attributes.
@return string The generated color picker group.
@see CCaptcha
@see CActiveForm::textField
@see customFieldGroup
Generates a color picker field group for a model attribute .