Use partial form for editing and creating images