use partial to eliminate duplication on edit and new page
use partial on new page and modify that on edit page
add condition for create new product
add save picture in the edit method
add back button on both edit and new page
customize error message on edit and new page