diff --git a/courseware/module_render.py b/courseware/module_render.py index c0752f4ba9..92a78528f9 100644 --- a/courseware/module_render.py +++ b/courseware/module_render.py @@ -116,7 +116,10 @@ def render_x_module(user, request, xml_module, module_object_preload): smod.save() # This may be optional (at least in the case of no instance in the dB) module_object_preload.append(smod) # Grab content - content = {'content':instance.get_html(), + content = instance.get_html() + if user.is_staff: + content=content+render_to_string("staff_problem_info.html", {'xml':etree.tostring(xml_module)}) + content = {'content':content, "destroy_js":instance.get_destroy_js(), 'init_js':instance.get_init_js(), 'type':module_type}