Refactored the error message into a partial for each of the forms.