Factor out rubric rendering

This commit is contained in:
Vik Paruchuri
2013-01-14 10:35:53 -05:00
parent c7339ee664
commit 0567e8f0aa
3 changed files with 122 additions and 100 deletions

View File

@@ -3,7 +3,9 @@
<% category = rubric_categories[i] %>
<tr>
<th>${category['description']}</th>
<td>Your Score: ${category['score']} </td>
% if category['has_score'] == True:
<td>Your Score: ${category['score']} </td>
% endif
% for j in range(len(category['options'])):
<% option = category['options'][j] %>
<td>