change made for removing getModels from template file and create method in helper.