generalized error partial and added error messages to new task form