Extract common error message behavior into partial
Remove duplicate form