Update some of the templates so that they don't break

This commit is contained in:
Diana Huang
2013-01-03 13:47:29 -05:00
parent 1c1034c63b
commit c0001597a3
2 changed files with 4 additions and 2 deletions

View File

@@ -29,7 +29,7 @@
<ul class="problem-list">
%for problem in problem_list:
<li>
<a href="${ajax_url}/problem/${problem.location}">${problem.problem_name} (${problem.num_graded} graded, ${problem.num_pending} pending)</a>
<a href="${ajax_url}problem?location=${problem['location']}">${problem['problem_name']} (${problem['num_graded']} graded, ${problem['num_pending']} pending)</a>
</li>
%endfor
</ul>

View File

@@ -17,7 +17,7 @@
<section class="container">
<div class="peer-grading" data-ajax_url="${ajax_url}" location="${problem_location}">
<div class="peer-grading" data-ajax_url="${ajax_url}" data-location="${problem_location}">
<div class="error-container"></div>
<div class="message-container"></div>
@@ -53,6 +53,8 @@
<h3></h3>
<div class="submission-container">
</div>
<input type="hidden" name="submission-key" value="" />
<input type="hidden" name="essay-id" value="" />
</div>
<div class="evaluation">
<p class="score-selection-container">