Single view is rendering after getting singleview render template function syntax and parameters fixed