add partial for new and edit view'