Extract item form and error message display into partials