Gets rid of unneeded root path variable in _editor template.