Possible bug in TbInput::getContainerCssClass()

Seems like a bug to me. Attribute name should be passed to CModel::hasErros(), not the html resolved name
http://www.yiiframework.com/doc/api/1.1/CModel#hasErrors-detail