move partial to inline-template to prevent CORS errors