def POST(self): catId = CrudForms.receiveAddEditCategoryForm() return render.back_to_category(catId)
def POST(self): CrudForms.receiveAddEditCategoryForm() return render.back_to_categories()
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 POST(self): projectId = CrudForms.receiveAddEditTaskForm() return render.back_to_project(projectId)
def GET(self): form = CrudForms.createAddEditCategoryForm(None) return render.mod_category("Add", "add_category", form)
def GET(self): user_data = web.input() taskId = user_data['task_id'] form = CrudForms.createEditTaskForm(taskId) return render.mod_task("Edit", "edit_task", form)
def GET(self): user_data = web.input() projectId = user_data['project_id'] form = CrudForms.createAddTaskForm(parentProject=projectId) return render.mod_task("Add", "add_task", form)
def POST(self): projectId = CrudForms.receiveAddEditProjectForm() return web_helper_functions.redirectTo("view_project", {'project_id' : projectId, 'show_active' : 'on'})
def GET(self): user_data = web.input() projectId = user_data['project_id'] form = CrudForms.createAddEditProjectForm(projectId) return render.mod_project("Edit", "edit_project", form)
def GET(self): form = CrudForms.createAddEditProjectForm(None) return render.mod_project("Add", "add_project", form)