Commit e29009fa by Xavier Antoviaque

light-children: Add default student_view to HTMLBlock

parent a3c135c0
......@@ -55,5 +55,8 @@ class HTMLBlock(LightChild):
return block
def mentoring_view(self, context=None):
def student_view(self, context=None):
return Fragment(self.content)
def mentoring_view(self, context=None):
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