connect_delete_task_template function

Deletes the task template