separation based on responsetypes poc

FEDX-176
This commit is contained in:
muhammad-ammar
2016-06-08 14:18:10 +05:00
committed by muzaffaryousaf
parent 2fcc463338
commit d14928cc61
27 changed files with 1193 additions and 975 deletions

View File

@@ -846,7 +846,7 @@ class LoncapaProblem(object):
answer_id = 1
input_tags = inputtypes.registry.registered_tags()
inputfields = tree.xpath(
"|".join(['//' + response.tag + '[@id=$id]//' + x for x in input_tags + solution_tags]),
"|".join(['//' + response.tag + '[@id=$id]//' + x for x in input_tags]),
id=response_id_str
)