def edit(task_id): task = tasks.find_one(id=task_id) return render_template('task/edit.html', task=task, action=url_for('task.update', task_id=task_id))
def edit(task_id): task = tasks.find_one(id=task_id) return render_template("task/edit.html", task=task, action=url_for("task.update", task_id=task_id))
def show(task_id): task = tasks.find_one(id=task_id) return render_template('task/show.html', task=task)
def show(task_id): task = tasks.find_one(id=task_id) return render_template("task/show.html", task=task)