Fixed issue for Delete task button on task page

The template was checking if the current user is admin of
the current project. Instead of sending project as an argument
it was sending the task.
current_user.is_admin_of_project(task.parent)