As part of dissolving our sub-projects in edx-platform, we are moving this package under the xmodule directory. We have fixed all the occurences of import of this package and also fixed all documents related references. This might break your platform if you have any reference of `import capa` or `from capa import` in your codebase or in any Xblock. Ref: https://openedx.atlassian.net/browse/BOM-2582
33 lines
1.2 KiB
HTML
33 lines
1.2 KiB
HTML
<%page expression_filter="h"/>
|
|
<%! from openedx.core.djangolib.markup import HTML %>
|
|
<% doinline = "inline" if inline else "" %>
|
|
|
|
<div class="inputtype option-input ${doinline}">
|
|
% if response_data['label']:
|
|
<label class="problem-group-label" for="input_${id}" id="label_${id}">${response_data['label']}</label>
|
|
% endif
|
|
|
|
% for description_id, description_text in response_data['descriptions'].items():
|
|
<p class="question-description" id="${description_id}">${description_text}</p>
|
|
% endfor
|
|
|
|
<select name="input_${id}" id="input_${id}" ${describedby_html}>
|
|
<option value="option_${id}_dummy_default">${default_option_text}</option>
|
|
% for option_id, option_description in options:
|
|
<option value="${option_id}"
|
|
% if (option_id == value or option_id == answervariable):
|
|
selected="true"
|
|
% endif
|
|
> ${option_description}</option>
|
|
% endfor
|
|
</select>
|
|
|
|
<div class="indicator-container">
|
|
<%include file="status_span.html" args="status=status, status_id=id"/>
|
|
</div>
|
|
<p class="answer" id="answer_${id}"></p>
|
|
% if msg:
|
|
<span class="message" aria-describedby="label_${id}" tabindex="-1">${HTML(msg)}</span>
|
|
% endif
|
|
</div>
|