Fix issue where has-error class was not getting added.
Move location of warning
Merge pull request #675 from nla/bug/acm-dsc-710

Bug/acm dsc 710