add edit page and partials