removed unnecessary view and img from edit page