def GET(self): user_data = web.input() categoryId = user_data['category_id'] form = CrudForms.createAddEditCategoryForm(categoryId) return render.mod_category("Edit", "edit_category", form)
def GET(self): form = CrudForms.createAddEditCategoryForm(None) return render.mod_category("Add", "add_category", form)