If users want rich prompts, they can do that with an HTML Components above the ORA2 question, but doing this makes the prompt box look bad. This adds a check so that the prompt box will not display if the <prompt> XML tag is missing is empty or whitespace-only. Also extends the serializer to serialize missing prompts distinctly from empty prompts. Includes tests for each of these conditions.
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
static | Loading commit data... | |
test | Loading commit data... | |
__init__.py | Loading commit data... | |
defaults.py | Loading commit data... | |
grade_mixin.py | Loading commit data... | |
lms_mixin.py | Loading commit data... | |
openassessmentblock.py | Loading commit data... | |
peer_assessment_mixin.py | Loading commit data... | |
resolve_dates.py | Loading commit data... | |
self_assessment_mixin.py | Loading commit data... | |
studio_mixin.py | Loading commit data... | |
submission_mixin.py | Loading commit data... | |
validation.py | Loading commit data... | |
workflow_mixin.py | Loading commit data... | |
xml.py | Loading commit data... |