File:  [LON-CAPA] / loncom / homework / templates / SelectFromOptions-Simple.problem
Revision 1.9: download - view: text, annotated - select for diffs
Mon Jul 6 17:12:47 2009 UTC (14 years, 10 months ago) by bisitz
Branches: MAIN
CVS tags: bz6209-base, bz6209, bz2851, HEAD, GCI_3
Consistent problem templates:
- New line after each tag (not for texts in foils)
- One empty row after each end tag and before new start tag for second level tags
- No indentation for second level tags, e.g. <script>
- Four white spaces as indentation for each further sub level
    Exceptions:
        -Content (mostly text) in separate line(s): no indentation
        - Concept groups: same indentation as foilgroup
          (allows to insert code from problems without concept groups without changing the indentation and vice versa)
- No new line at end of template
- Removed new lines from within the middle of default texts
- Added one blank each after "<m>$" and before "$</m>" to ensure no misinterpretation neither by human nor by machine (e.g. "<m>$x" is not "<m>$ $x")
- Replaced deprecated font tag in <instructorcomment> by CSS
- Removed dos line endings
- dos2unix conversion
  (ClickImageExample.problem, RandomLabelExample.problem, SimpleMatching.problem)

<problem>

<startouttext />
Type Question Here.
<endouttext />

<optionresponse max="10" randomize="yes">
    <foilgroup options="('Green','Red')">
        <foil location="random" value="Green" name="Foil1">
            <startouttext />This is foil One. It is currently set to "Green."<endouttext />
        </foil>
        <foil location="random" value="Red" name="Foil2">
            <startouttext />This is foil Two. It is currently set to "Red."<endouttext />
        </foil>
        <foil location="random" value="Green" name="Foil3">
            <startouttext />This is foil Three. It is currently set to "Green."<endouttext />
        </foil>
        <foil location="random" value="Red" name="Foil4">
            <startouttext />This is foil Two. It is currently set to "Red."<endouttext />
        </foil>
    </foilgroup>
    <hintgroup>
        <startouttext /><endouttext />
    </hintgroup>
</optionresponse>

</problem>

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>