diff options
Diffstat (limited to 'yaksh/templates')
-rw-r--r-- | yaksh/templates/yaksh/grade_user.html | 2 | ||||
-rw-r--r-- | yaksh/templates/yaksh/question.html | 2 | ||||
-rw-r--r-- | yaksh/templates/yaksh/user_data.html | 2 | ||||
-rw-r--r-- | yaksh/templates/yaksh/view_answerpaper.html | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/yaksh/templates/yaksh/grade_user.html b/yaksh/templates/yaksh/grade_user.html index 09887c4..8430e91 100644 --- a/yaksh/templates/yaksh/grade_user.html +++ b/yaksh/templates/yaksh/grade_user.html @@ -318,7 +318,7 @@ Status : <b style="color: red;"> Failed </b><br/> {% elif question.type == "arrange"%} <div class="well well-sm"> - {% get_arrange_user_answer ans.answer.answer question as tc_list %} + {% get_answer_for_arrange_options ans.answer.answer question as tc_list %} {% for testcases in tc_list %} <li>{{ testcases.options.strip|safe }}</li> {% endfor %} diff --git a/yaksh/templates/yaksh/question.html b/yaksh/templates/yaksh/question.html index 3bdabd1..b65073a 100644 --- a/yaksh/templates/yaksh/question.html +++ b/yaksh/templates/yaksh/question.html @@ -257,7 +257,7 @@ question_type = "{{ question.type }}" {% if question.type == "arrange" %} {% if last_attempt %} - {% get_arrange_user_answer last_attempt question as test_cases %} + {% get_answer_for_arrange_options last_attempt question as test_cases %} {% endif %} <input name="answer" type="hidden" id='arrange_order'/> <div class="list-group"> diff --git a/yaksh/templates/yaksh/user_data.html b/yaksh/templates/yaksh/user_data.html index fe3f2a6..9449fcc 100644 --- a/yaksh/templates/yaksh/user_data.html +++ b/yaksh/templates/yaksh/user_data.html @@ -127,7 +127,7 @@ User IP address: {{ paper.user_ip }} {% elif question.type == "arrange"%} <div class="well well-sm"> - {% get_arrange_user_answer answers.0.answer question as tc_list %} + {% get_answer_for_arrange_options answers.0.answer question as tc_list %} {% for testcases in tc_list %} <li>{{ testcases.options.strip|safe }}</li> {% endfor %} diff --git a/yaksh/templates/yaksh/view_answerpaper.html b/yaksh/templates/yaksh/view_answerpaper.html index 3d39092..7cbec91 100644 --- a/yaksh/templates/yaksh/view_answerpaper.html +++ b/yaksh/templates/yaksh/view_answerpaper.html @@ -118,7 +118,7 @@ </div> {% elif question.type == "arrange"%} <div class="well well-sm"> - {% get_arrange_user_answer answers.0.answer question as tc_list %} + {% get_answer_for_arrange_options answers.0.answer question as tc_list %} {% for testcases in tc_list %} <li>{{ testcases.options.strip|safe }}</li> {% endfor %} |