{# This file is part of INGInious. See the LICENSE and the COPYRIGHTS files for #}
{# more information about the licensing of this file. #}
{# Prints a terminal section and the tasks it contains #}
{{ section.get_title() }}
{% with tasks_list_option=True, sections_list_option=False %}
{% include "course_admin/task_dispensers/section_menu.html" %}
{% endwith %}
{% if config_fields %}
{% with section_config=section.get_config(), config_fields=config_fields %}
{% include "course_admin/task_dispensers/section_config.html" %}
{% endwith %}
{% endif %}
{% for taskid in section.get_tasks() %}
{% if taskid in tasks %}
{{ tasks[taskid]["name"] }}
{% include "course_admin/task_dispensers/task_buttons.html" %}