<%! from openedx.core.djangolib.markup import HTML %> <% def is_radio_input(choice_id): return input_type == 'radio' and ((isinstance(value, basestring) and (choice_id == value)) or ( not isinstance(value, basestring) and choice_id in value )) %>
% if response_data['label']: ${response_data['label']} % endif % for description_id, description_text in response_data['descriptions'].items():

${description_text}

% endfor % for choice_id, choice_label in choices:
<% label_class = 'response-label field-label label-inline' %>
% endfor
% if input_type == 'checkbox' or not value: ${status.display_tooltip} % endif
% if show_correctness == "never" and (value or status not in ['unsubmitted']):
${submitted_message}
%endif % if msg: ${HTML(msg)} % endif