Added a class to apply errors to the form