Sha256: 9f3f6b54f251add9c189fa68c2da2b89f4fd5c3efa1d7fc79ceacd0f8dd35bcf

Contents?: true

Size: 1.15 KB

Versions: 9

Compression:

Stored size: 1.15 KB

Contents

<% unless question.comment.nil? || question.comment.empty? %>
<!-- question: <%= question.comment %>  -->
<% end %>
  <question type="ddmatch">
    <name>
      <text><%= question.name %></text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<%= question.text %>]]></text>
      <% unless question.encode == :none %>
        <%= question.encode %>
      <% end %>
    </questiontext>
    <generalfeedback format="html">
      <text></text>
    </generalfeedback>
    <defaultgrade>1.0000000</defaultgrade>
    <penalty>0.3333333</penalty>
    <hidden>0</hidden>
    <idnumber></idnumber>
    <shuffleanswers>true</shuffleanswers>
    <correctfeedback format="html">
      <text></text>
    </correctfeedback>
    <partiallycorrectfeedback format="html">
      <text></text>
    </partiallycorrectfeedback>
    <incorrectfeedback format="html">
      <text></text>
    </incorrectfeedback>
    <shownumcorrect/>
    <% question.matching.each do |i, j| %>
    <subquestion format="html">
      <text><![CDATA[<%= i %>]]></text>
      <answer format="html">
        <text><![CDATA[<%= j %>]]></text>
      </answer>
    </subquestion>
    <% end %>
  </question>

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
asker-tool-2.9.4 lib/asker/formatter/moodle/ddmatch.erb
asker-tool-2.9.3 lib/asker/formatter/moodle/ddmatch.erb
asker-tool-2.9.2 lib/asker/formatter/moodle/ddmatch.erb
asker-tool-2.9.1 lib/asker/formatter/moodle/ddmatch.erb
asker-tool-2.9.0 lib/asker/formatter/moodle/ddmatch.erb
asker-tool-2.8.0 lib/asker/formatter/moodle/ddmatch.erb
asker-tool-2.7.2 lib/asker/formatter/moodle/ddmatch.erb
asker-tool-2.7.1 lib/asker/formatter/moodle/ddmatch.erb
asker-tool-2.7.0 lib/asker/formatter/moodle/ddmatch.erb