added form errors to upload view in case of invalid form