added renderModuleTemplates to view to eep the template clean and lean