replaced old generic view with new TemplateView