Fixed undefined variable error in choicegroup.html
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user