Commit 607f27e7 by Will Daly

Fixed undefined variable error in choicegroup.html

parent d9b68e2d
......@@ -21,11 +21,15 @@
<%
if status == 'correct':
correctness = 'correct'
if status == 'incorrect':
elif status == 'incorrect':
correctness = 'incorrect'
else:
correctness = None
%>
% if correctness:
class="choicegroup_${correctness}"
% endif
% endif
>
<input type="${input_type}" name="input_${id}${name_array_suffix}" id="input_${id}_${choice_id}" value="${choice_id}"
% if choice_id in value:
......
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