<%def name="render_form_filter_dropdown(map)"> % for child in map["children"]: % if child in map["entries"]: ${render_entry(map["entries"], child)} %else: ${render_category(map["subcategories"], child)} %endif %endfor <%def name="render_entry(entries, entry)">
  • ${entry}
  • <%def name="render_category(categories, category)">
  • ${category}
  • Allâ–¾
      ${render_form_filter_dropdown(category_map)}

    % if course.metadata.get("allow_anonymous", True): %elif course.metadata.get("allow_anonymous_to_peers", False): %endif
      ## TODO tags commenting out til we figure out what to do w/ tags ##
      ## ##
      Cancel