Sha256: fa5837a4429ba11e420ddecb24d584a178fb26d532308e36665202ebaec39340

Contents?: true

Size: 1.38 KB

Versions: 30

Compression:

Stored size: 1.38 KB

Contents

<% unless question.comment.nil? || question.comment.empty? %>
<!-- question: <%= question.comment %>  -->
<% end %>
  <question type="multichoice">
    <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><![CDATA[<%= question.feedback.to_s %>]]></text>
    </generalfeedback>
    <defaultgrade>1.0000000</defaultgrade>
    <penalty>0.3333333</penalty>
    <hidden>0</hidden>
    <single>true</single>
    <shuffleanswers>true</shuffleanswers>
    <answernumbering>abc</answernumbering>
    <correctfeedback format="html">
      <text></text>
    </correctfeedback>
    <partiallycorrectfeedback format="html">
      <text></text>
    </partiallycorrectfeedback>
    <incorrectfeedback format="html">
      <text></text>
    </incorrectfeedback>
    <answer fraction="100" format="html">
      <text><%= question.good %></text>
      <feedback format="html">
        <text></text>
      </feedback>
    </answer>
    <%
      question.bads.each do |i|
    %>
    <answer fraction="<%= penalty %>" format="html">
      <text><![CDATA[<%= i %>]]></text>
      <feedback format="html">
        <text></text>
      </feedback>
    </answer>
    <% end %>
  </question>

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
asker-tool-2.9.4 lib/asker/formatter/moodle/multichoice.erb
asker-tool-2.9.3 lib/asker/formatter/moodle/multichoice.erb
asker-tool-2.9.2 lib/asker/formatter/moodle/multichoice.erb
asker-tool-2.9.1 lib/asker/formatter/moodle/multichoice.erb
asker-tool-2.9.0 lib/asker/formatter/moodle/multichoice.erb
asker-tool-2.8.0 lib/asker/formatter/moodle/multichoice.erb
asker-tool-2.7.2 lib/asker/formatter/moodle/multichoice.erb
asker-tool-2.7.1 lib/asker/formatter/moodle/multichoice.erb
asker-tool-2.7.0 lib/asker/formatter/moodle/multichoice.erb
asker-tool-2.6.0 lib/asker/formatter/moodle/multichoice.erb
asker-tool-2.5.9 lib/asker/formatter/moodle/multichoice.erb
asker-tool-2.5.8 lib/asker/formatter/moodle/multichoice.erb
asker-tool-2.5.7 lib/asker/formatter/moodle/multichoice.erb
asker-tool-2.5.6 lib/asker/formatter/moodle/multichoice.erb
asker-tool-2.5.5 lib/asker/formatter/moodle/multichoice.erb
asker-tool-2.5.4 lib/asker/formatter/moodle/multichoice.erb
asker-tool-2.5.3 lib/asker/formatter/moodle/multichoice.erb
asker-tool-2.5.2 lib/asker/formatter/moodle/multichoice.erb
asker-tool-2.5.1 lib/asker/formatter/moodle/multichoice.erb
asker-tool-2.5.0 lib/asker/formatter/moodle/multichoice.erb