Formatting

This commit is contained in:
leigh-mil 2018-10-16 14:59:52 -04:00
parent 2455618268
commit 86cf568e5b
2 changed files with 17 additions and 20 deletions

View File

@ -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