Prepared the template to be reused for view summary