Commit dcb33f1d by Vik Paruchuri

Fix prompt and rubric passing

parent 3aa0daaa
...@@ -35,8 +35,8 @@ class SelfAssessmentModule(openendedchild.OpenEndedChild): ...@@ -35,8 +35,8 @@ class SelfAssessmentModule(openendedchild.OpenEndedChild):
def setup_response(self, system, location, definition, descriptor): def setup_response(self, system, location, definition, descriptor):
self.submit_message = definition['submitmessage'] self.submit_message = definition['submitmessage']
self.hint_prompt = definition['hintprompt'] self.hint_prompt = definition['hintprompt']
self.prompt = stringify_children(prompt) self.prompt = stringify_children(self.prompt)
self.rubric = stringify_children(rubric) self.rubric = stringify_children(self.rubric)
def get_html(self, system): def get_html(self, system):
#set context variables and render template #set context variables and render template
......
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