def ShowInputDishForm(self): d = Dish() print(LoadTpl("formtype0").format(self.selfurl)) d.DishForm(self.q, self.selfurl) print(LoadTpl("submitendform"))
def DishForm(self, q, selfurl): Dish.DishForm(self, q, selfurl) print(LoadTpl("vipdishdishform").format(self.bonus, self.calories))