diff options
author | mahesh | 2018-02-07 16:28:06 +0530 |
---|---|---|
committer | maheshgudi | 2018-03-16 15:15:50 +0530 |
commit | b3bb71b80bd10eb49c7930d9cf6be109673cbe53 (patch) | |
tree | 317e593370e4f85412cee647db7af5beb56903b4 /yaksh/templates | |
parent | 3fb6c4219c7c288fdf47ca300a1d859653c358b3 (diff) | |
download | online_test-b3bb71b80bd10eb49c7930d9cf6be109673cbe53.tar.gz online_test-b3bb71b80bd10eb49c7930d9cf6be109673cbe53.tar.bz2 online_test-b3bb71b80bd10eb49c7930d9cf6be109673cbe53.zip |
Arrange options according to last submitted answer if any
Diffstat (limited to 'yaksh/templates')
-rw-r--r-- | yaksh/templates/yaksh/question.html | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/yaksh/templates/yaksh/question.html b/yaksh/templates/yaksh/question.html index e67a260..3bdabd1 100644 --- a/yaksh/templates/yaksh/question.html +++ b/yaksh/templates/yaksh/question.html @@ -256,6 +256,9 @@ question_type = "{{ question.type }}" {% endif %} {% if question.type == "arrange" %} + {% if last_attempt %} + {% get_arrange_user_answer last_attempt question as test_cases %} + {% endif %} <input name="answer" type="hidden" id='arrange_order'/> <div class="list-group"> <ol class="arrange"> |