diff --git a/problem.js b/problem.js index f7d864ad09..6f90fdc8a1 100644 --- a/problem.js +++ b/problem.js @@ -36,7 +36,7 @@ function ${ id }_load() { $('#show_${ id }').click(function() { postJSON('/modx/problem/${ id }/problem_show', {}, function(data) { for (var key in data) { - $("#answer_${ id }_"+key).text(data[key]); + $("#answer_"+key).text(data[key]); } }); diff --git a/schematicinput.html b/schematicinput.html new file mode 100644 index 0000000000..4181cc6efe --- /dev/null +++ b/schematicinput.html @@ -0,0 +1,13 @@ + + + +% if state == 'unsubmitted': + +% elif state == 'correct': + +% elif state == 'incorrect': + +% elif state == 'incomplete': + +% endif + diff --git a/textinput.html b/textinput.html new file mode 100644 index 0000000000..fbe9090df8 --- /dev/null +++ b/textinput.html @@ -0,0 +1,13 @@ + + + +% if state == 'unsubmitted': + +% elif state == 'correct': + +% elif state == 'incorrect': + +% elif state == 'incomplete': + +% endif +