Refactored view/edit product form to use template