{% for s in module.get_descendants %} {% if s.id == module.id %} {% else %}
  • {% if s.id != section.id %} {% if menu_base == "/edit" %} {% else %} {% if menu_base == "/instructor" %} {% else %} {% endif %} {% endif %} {% else %} {% endif %} {{s.label}} {% if s.id != section.id %} {% else %} {% endif %} {% if s.get_children %}
      {% else %} {% if s.is_last_child %} {% for lc in s.closing_children %}
    {% endfor %} {% endif %} {% endif %} {% if s.get_children %} {% else %}
  • {% endif%} {% endif %} {% endfor %}