Commit 5e40dfa2 by Toby Lawrence

quality

parent ff619d9b
...@@ -236,9 +236,8 @@ class WordCloudModule(WordCloudFields, XModule): ...@@ -236,9 +236,8 @@ class WordCloudModule(WordCloudFields, XModule):
def student_view(self, context): def student_view(self, context):
""" """
Template rendering. Renders the output that a student will see.
""" """
fragment = Fragment() fragment = Fragment()
fragment.add_content(self.system.render_template('word_cloud.html', { fragment.add_content(self.system.render_template('word_cloud.html', {
...@@ -259,6 +258,9 @@ class WordCloudModule(WordCloudFields, XModule): ...@@ -259,6 +258,9 @@ class WordCloudModule(WordCloudFields, XModule):
return fragment return fragment
def author_view(self, context): def author_view(self, context):
"""
Renders the output that an author will see.
"""
return self.student_view(context) return self.student_view(context)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment