Hook up Edit Project page

This commit is contained in:
Patrick Smith
2018-09-06 11:48:24 -04:00
parent 9c9374541b
commit c235e519fa
7 changed files with 129 additions and 193 deletions

View File

@@ -25,7 +25,7 @@
<div class='block-list project-list-item'>
<header class='block-list__header'>
<h2 class='block-list__title'>{{ project.name }} ({{ project.environments|length }} environments)</h2>
<a class='icon-link' href='/workspaces/123456/projects/789/edit'>
<a class='icon-link' href='{{ url_for("workspaces.edit_project", workspace_id=workspace.id, project_id=project.id) }}'>
{{ Icon('edit') }}
<span>edit</span>
</a>