Need to be able to specify non-global template root when rendering for edit