Fix prompt and rubric passing

This commit is contained in:
Vik Paruchuri
2013-01-08 16:04:09 -05:00
parent 3aa0daaa76
commit dcb33f1d5f

View File

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