Revert "single form element per capa problem"

This reverts commit 943a3a5eb1.
This commit is contained in:
cahrens
2016-10-06 16:00:19 -04:00
parent 6073ea2e2e
commit 53a6edd032
9 changed files with 18 additions and 27 deletions

View File

@@ -216,7 +216,7 @@ def answer_problem(course, problem_type, correctness):
world.css_fill(inputfield(course, 'string'), textvalue)
elif problem_type == 'numerical':
textvalue = "pi+1" if correctness == 'correct' else str(random.randint(-2, 2))
textvalue = "pi + 1" if correctness == 'correct' else str(random.randint(-2, 2))
world.css_fill(inputfield(course, 'numerical'), textvalue)
elif problem_type == 'formula':