Exemplo n.º 1
0
 def POST(self):
     catId = CrudForms.receiveAddEditCategoryForm()
     return render.back_to_category(catId)
Exemplo n.º 2
0
 def POST(self):
     CrudForms.receiveAddEditCategoryForm()
     return render.back_to_categories()
Exemplo n.º 3
0
 def GET(self):
     user_data = web.input()
     categoryId = user_data['category_id']
     
     form = CrudForms.createAddEditCategoryForm(categoryId)
     return render.mod_category("Edit", "edit_category", form)
Exemplo n.º 4
0
 def POST(self):
     projectId = CrudForms.receiveAddEditTaskForm()
     return render.back_to_project(projectId)
Exemplo n.º 5
0
 def GET(self):
     form = CrudForms.createAddEditCategoryForm(None)
     return render.mod_category("Add", "add_category", form)
Exemplo n.º 6
0
 def GET(self):
     user_data = web.input()
     taskId = user_data['task_id']
     form = CrudForms.createEditTaskForm(taskId)
     return render.mod_task("Edit", "edit_task", form)
Exemplo n.º 7
0
 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)
Exemplo n.º 8
0
 def POST(self):
     projectId = CrudForms.receiveAddEditProjectForm()
     return web_helper_functions.redirectTo("view_project",
                                            {'project_id' : projectId,
                                             'show_active' : 'on'})
Exemplo n.º 9
0
 def GET(self):
     user_data = web.input()
     projectId = user_data['project_id']
     
     form = CrudForms.createAddEditProjectForm(projectId)
     return render.mod_project("Edit", "edit_project", form)
Exemplo n.º 10
0
 def GET(self):        
     form = CrudForms.createAddEditProjectForm(None)
     return render.mod_project("Add", "add_project", form)