Delete mention of direction from checkboxgroup.
It was never implemented. TNL-231
This commit is contained in:
@@ -724,7 +724,7 @@ describe 'MarkdownEditingDescriptor', ->
|
||||
|
||||
<p>Choice checks</p>
|
||||
<choiceresponse>
|
||||
<checkboxgroup direction="vertical">
|
||||
<checkboxgroup>
|
||||
<choice correct="false">option1 [x]</choice>
|
||||
<choice correct="true">correct</choice>
|
||||
<choice correct="true">redundant</choice>
|
||||
|
||||
@@ -188,7 +188,7 @@ describe 'Markdown to xml extended hint checkbox', ->
|
||||
<problem>
|
||||
<p>Select all the fruits from the list</p>
|
||||
<choiceresponse>
|
||||
<checkboxgroup label="Select all the fruits from the list" direction="vertical">
|
||||
<checkboxgroup label="Select all the fruits from the list">
|
||||
<choice correct="true">Apple
|
||||
<choicehint selected="true">You're right that apple is a fruit.</choicehint>
|
||||
<choicehint selected="false">Remember that apple is also a fruit.</choicehint></choice>
|
||||
@@ -209,7 +209,7 @@ describe 'Markdown to xml extended hint checkbox', ->
|
||||
|
||||
<p>Select all the vegetables from the list</p>
|
||||
<choiceresponse>
|
||||
<checkboxgroup label="Select all the vegetables from the list" direction="vertical">
|
||||
<checkboxgroup label="Select all the vegetables from the list">
|
||||
<choice correct="false">Banana
|
||||
<choicehint selected="true">No, sorry, a banana is a fruit.</choicehint>
|
||||
<choicehint selected="false">poor banana.</choicehint></choice>
|
||||
@@ -266,7 +266,7 @@ describe 'Markdown to xml extended hint checkbox', ->
|
||||
<problem>
|
||||
<p>Select all the fruits from the list</p>
|
||||
<choiceresponse>
|
||||
<checkboxgroup label="Select all the fruits from the list" direction="vertical">
|
||||
<checkboxgroup label="Select all the fruits from the list">
|
||||
<choice correct="true">Apple
|
||||
<choicehint selected="true">You're right that apple is a fruit.</choicehint>
|
||||
<choicehint selected="false">Remember that apple is also a fruit.</choicehint></choice>
|
||||
@@ -287,7 +287,7 @@ describe 'Markdown to xml extended hint checkbox', ->
|
||||
|
||||
<p>Select all the vegetables from the list</p>
|
||||
<choiceresponse>
|
||||
<checkboxgroup label="Select all the vegetables from the list" direction="vertical">
|
||||
<checkboxgroup label="Select all the vegetables from the list">
|
||||
<choice correct="false">Banana
|
||||
<choicehint selected="true">No, sorry, a banana is a fruit.</choicehint>
|
||||
<choicehint selected="false">poor banana.</choicehint></choice>
|
||||
@@ -753,7 +753,7 @@ describe 'Markdown to xml extended hint with multiline hints', ->
|
||||
<problem>
|
||||
<p>Checkboxes</p>
|
||||
<choiceresponse>
|
||||
<checkboxgroup label="Checkboxes" direction="vertical">
|
||||
<checkboxgroup label="Checkboxes">
|
||||
<choice correct="true">A
|
||||
<choicehint selected="true">aaa</choicehint>
|
||||
<choicehint selected="false">bbb</choicehint></choice>
|
||||
@@ -891,7 +891,7 @@ describe 'Markdown to xml extended hint with tricky syntax cases', ->
|
||||
<p>q1</p>
|
||||
<p>this [x]</p>
|
||||
<choiceresponse>
|
||||
<checkboxgroup label="q1" direction="vertical">
|
||||
<checkboxgroup label="q1">
|
||||
<choice correct="false">a [square]</choice>
|
||||
<choice correct="true">b {{ this hint passes through }}</choice>
|
||||
</checkboxgroup>
|
||||
|
||||
@@ -353,7 +353,7 @@ class @MarkdownEditingDescriptor extends XModule.Descriptor
|
||||
var groupString = '<choiceresponse>\n',
|
||||
options, value, correct;
|
||||
|
||||
groupString += ' <checkboxgroup direction="vertical">\n';
|
||||
groupString += ' <checkboxgroup>\n';
|
||||
options = match.split('\n');
|
||||
|
||||
endHints = ''; // save these up to emit at the end
|
||||
|
||||
@@ -29,7 +29,7 @@ data: |
|
||||
<p>You can use the following example problem as a model.</p>
|
||||
<p>The following languages are in the Indo-European family:</p>
|
||||
<choiceresponse>
|
||||
<checkboxgroup direction="vertical">
|
||||
<checkboxgroup>
|
||||
<choice correct="true" name="urdu">Urdu</choice>
|
||||
<choice correct="false" name="finnish">Finnish</choice>
|
||||
<choice correct="true" name="marathi">Marathi</choice>
|
||||
|
||||
@@ -41,7 +41,7 @@ data: |
|
||||
|
||||
<p>Which of the following is a fruit? Check all that apply.</p>
|
||||
<choiceresponse>
|
||||
<checkboxgroup direction="vertical">
|
||||
<checkboxgroup>
|
||||
<choice correct="true">apple
|
||||
<choicehint selected="true">You are correct that an apple is a fruit because it is the fertilized ovary that comes from an apple tree and contains seeds.</choicehint>
|
||||
<choicehint selected="false">Remember that an apple is also a fruit.</choicehint>
|
||||
|
||||
@@ -1822,7 +1822,7 @@ class TestProblemCheckTracking(unittest.TestCase):
|
||||
</multiplechoiceresponse>
|
||||
<p>Which of the following are musical instruments?</p>
|
||||
<choiceresponse>
|
||||
<checkboxgroup direction="vertical" label="Which of the following are musical instruments?">
|
||||
<checkboxgroup label="Which of the following are musical instruments?">
|
||||
<choice correct="true">a piano</choice>
|
||||
<choice correct="false">a tree</choice>
|
||||
<choice correct="true">a guitar</choice>
|
||||
|
||||
Reference in New Issue
Block a user