combined templates into one subview template