apply the twitter-boostrap3's css class to error_class.