Fix up problem display to use the new metadata that's available

This commit is contained in:
Calen Pennington
2012-07-03 14:20:11 -04:00
parent 42cef5b788
commit 207777fbe1
2 changed files with 2 additions and 2 deletions

View File

@@ -194,7 +194,7 @@ class CapaModule(XModule):
as necessary based on the problem config and state.'''
html = self.lcp.get_html()
content = {'name': self.name,
content = {'name': self.metadata['display_name'],
'html': html,
'weight': self.weight,
}