fixed broken delete effect due to project id quotes being rendered twice for some unknow reason

This commit is contained in:
Henry Oswald 2014-02-20 21:26:26 +00:00
parent d249158676
commit a9c48d666d

View file

@ -29,7 +29,7 @@ block content
a(href='/project/'+project_id+'/clone', data-csrf=csrfToken).cloneProject Clone Project
-if (project.accessLevel == "owner")
li
a(href='/project/'+project_id, data-name=project.name, data-id=project._id, data-csrf=csrfToken).deleteProject Delete Project
a(href='/project/'+project_id, data-name=project.name, data-id=project_id, data-csrf=csrfToken).deleteProject Delete Project
-else
li
a(href='/project/'+project_id+'/leave', data-name=project.name, data-id=project._id, data-csrf=csrfToken).leaveProject Leave Project