Update some of the templates so that they don't break
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user