diff --git a/cms/djangoapps/contentstore/views.py b/cms/djangoapps/contentstore/views.py index 8f10eadc4b..d828993e34 100644 --- a/cms/djangoapps/contentstore/views.py +++ b/cms/djangoapps/contentstore/views.py @@ -271,6 +271,7 @@ def edit_unit(request, location): component_templates[template.location.category].append(( template.display_name, template.location.url(), + 'markdown' in template.metadata )) components = [ diff --git a/cms/templates/unit.html b/cms/templates/unit.html index 32f585d878..40dfd65381 100644 --- a/cms/templates/unit.html +++ b/cms/templates/unit.html @@ -152,10 +152,14 @@ % for type, templates in sorted(component_templates.items()):