fixed error messages and added a style to field_with_errors