created shared error rendering page for add and edit prodcut form