Add partial to refactor new and edit view