def AddDishMenu(self): d=Dish() d.AddDish() self.listdish.append(d)
def AddDishMenu(self): d = Dish() d.AddDish(self.q) self.listdish.append(d) self.ShowDishMenu()
def ShowInputDishForm(self): d = Dish() print(LoadTpl("formtype0").format(self.selfurl)) d.DishForm(self.q, self.selfurl) print(LoadTpl("submitendform"))
def DishForm(self): d=Dish() print(LoadTpl("form_type1").format(self.selfurl,0)) d.Form(self.q,self.selfurl) print(LoadTpl("submit_and_endform"))