Adding partial form for add and edit, added image type too