Commit 45072bbc by Braden MacDonald

Fix: Question titles were not visible in the LMS

parent ea2875fb
...@@ -93,7 +93,7 @@ class QuestionnaireAbstractBlock(StudioEditableXBlockMixin, StudioContainerXBloc ...@@ -93,7 +93,7 @@ class QuestionnaireAbstractBlock(StudioEditableXBlockMixin, StudioContainerXBloc
template_path = 'templates/html/{}.html'.format(name.lower()) template_path = 'templates/html/{}.html'.format(name.lower())
context = context or {} context = context.copy() if context else {}
context['self'] = self context['self'] = self
context['custom_choices'] = self.custom_choices context['custom_choices'] = self.custom_choices
context['hide_header'] = context.get('hide_header', False) or not self.show_title context['hide_header'] = context.get('hide_header', False) or not self.show_title
......
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