Formatting
This commit is contained in:
parent
2455618268
commit
86cf568e5b
@ -181,10 +181,7 @@ def create_project(workspace_id):
|
|||||||
def edit_project(workspace_id, project_id):
|
def edit_project(workspace_id, project_id):
|
||||||
workspace = Workspaces.get_for_update_projects(g.current_user, workspace_id)
|
workspace = Workspaces.get_for_update_projects(g.current_user, workspace_id)
|
||||||
project = Projects.get(g.current_user, workspace, project_id)
|
project = Projects.get(g.current_user, workspace, project_id)
|
||||||
form = ProjectForm(
|
form = ProjectForm(name=project.name, description=project.description)
|
||||||
name=project.name,
|
|
||||||
description=project.description,
|
|
||||||
)
|
|
||||||
|
|
||||||
return render_template(
|
return render_template(
|
||||||
"workspaces/projects/edit.html", workspace=workspace, project=project, form=form
|
"workspaces/projects/edit.html", workspace=workspace, project=project, form=form
|
||||||
|
Loading…
x
Reference in New Issue
Block a user