add error messages to form partials