Move Admin Mode markup into templates.