Move view refactor to edit