Conform to bootstrap has-error class