diff --git a/lms/templates/discussion/_new_post.html b/lms/templates/discussion/_new_post.html index ef2dd75450..5b6be085e3 100644 --- a/lms/templates/discussion/_new_post.html +++ b/lms/templates/discussion/_new_post.html @@ -1,3 +1,26 @@ +<%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> + +<%def name="render_entry(entries, entry)"> +