shared error form partial refactor