adds style to form errors
adds style to form