updated Razor partials to work with the new type template setup