$def with (course,task_data)
$#
$# This file is part of INGInious. See the LICENSE and the COPYRIGHTS files for
$# more information about the licensing of this file.
$#
$ i=-1
$for key, tag in task_data.get('tags', {}).items():
$ i=i+1
$ id = tag["id"] if "id" in tag else "unknow_id"
$ name = tag["name"] if "name" in tag else "Unknow name"
$ description = tag["description"] if "description" in tag else ""
$ type = tag["type"] if "type" in tag else 0
$ visible = tag["visible"] if "visible" in tag else False
$:_("Import")
$:_("Id")
$:_("Name")
$:_("Description")
$:_("Show to students")
$:_("Type")
$ i = -1
$for list_index in course.get_all_tags():
$for t in list_index:
$ i += 1