Commit f89e36b5 by Vik Paruchuri

Flagged list renders properly

parent e89196e0
...@@ -17,18 +17,17 @@ ...@@ -17,18 +17,17 @@
<h2>Instructions</h2> <h2>Instructions</h2>
<p>Here are a list of open ended problems for this course that have been flagged by students as potentially inappropriate.</p> <p>Here are a list of open ended problems for this course that have been flagged by students as potentially inappropriate.</p>
% if success: % if success:
% if len(flagged_list) == 0: % if len(problem_list) == 0:
<div class="message-container"> <div class="message-container">
No flagged problems exist. No flagged problems exist.
</div> </div>
%else: %else:
<table class="problem-list"> <table class="problem-list">
<tr> <tr>
<th>Problem Name</th> <th>Name</th>
<th>Student ID</th> <th>Student ID</th>
<th>Student Response</th> <th>ID</th>
<th>Submission ID</th> <th>Response</th>
<th>Location</th>
</tr> </tr>
%for problem in problem_list: %for problem in problem_list:
<tr> <tr>
...@@ -39,13 +38,10 @@ ...@@ -39,13 +38,10 @@
${problem['student_id']} ${problem['student_id']}
</td> </td>
<td> <td>
${problem['student_response']}
</td>
<td>
${problem['submission_id']} ${problem['submission_id']}
</td> </td>
<td> <td>
${problem['location']} ${problem['student_response']}
</td> </td>
</tr> </tr>
%endfor %endfor
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment