updated has-error class - red text