Commit fb407e3c by Carlos Andrés Rocha

Merge pull request #1633 from MITx/fix/will/choicegroup_html_render_error

Fixed undefined variable error in choicegroup.html
parents 7eee7a0d 607f27e7
......@@ -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