Update task.tpl

Added a permissions check to make sure user has rights to add an item before the form is displayed.