Add error messages and partials