Skip to content
Snippets Groups Projects
Commit c0001597 authored by Diana Huang's avatar Diana Huang
Browse files

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

parent 1c1034c6
No related merge requests found
......@@ -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">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment