has-error attribute added to form controls