widgets/input/CiiInput.php
protected function getContainerCssClass()
	{
		$attribute = $this->attribute;
		return $this->model->hasErrors(CHtml::resolveName($this->model, $attribute)) ? CHtml::$errorCss : '';
	}
protected function getContainerCssClass()
	{
		$attribute = $this->attribute;
		return $this->model->hasErrors(CHtml::resolveName($this->model, $attribute)) ? CHtml::$errorCss : '';
	}
protected function getContainerCssClass ( ) { $ attribute = $ this -> attribute ; return $ this -> model -> hasErrors ( CHtml :: resolveName ( $ this -> model , $ attribute ) ) ? CHtml :: $ errorCss : '' ; }
Returns the container CSS class for the input.
@return string the CSS class
Returns the container CSS class for the input .