]> git.mjollnir.org Git - moodle.git/commitdiff
Modified a bit the form to avoid bug 556.
authorstronk7 <stronk7>
Thu, 17 Jul 2003 22:11:08 +0000 (22:11 +0000)
committerstronk7 <stronk7>
Thu, 17 Jul 2003 22:11:08 +0000 (22:11 +0000)
Seems to work fine now (render-html bug)

mod/quiz/numerical.html

index 5499a2ab0d88a2623bc86b2c4689aa8f5d8e2e37..a2ff494e87530f9ca8bc35467a2f695b95021a8e 100644 (file)
         }
     ?>
     <TD>
-        <INPUT align="RIGHT" type="text" id="correct0" name="answer[]" size="20" value="<? p($answers[0]->answer) ?>"/>&nbsp;&nbsp;
-        <B><? print_string("acceptederror", "quiz"); ?>:</B>&nbsp;
-        <INPUT align="LEFT" type="text" id="acceptederror0" name="acceptederror[]" size="15" value="<? p($acceptederror) ?>" />
+        <INPUT align="LEFT" type="text" id="correct0" name="answer[]" size="20" value="<? p($answers[0]->answer) ?>"/>&nbsp;&nbsp;
+    </TD>
+</TR>
+<TR valign=top>
+    <TD align=right><P><B><? print_string("acceptederror", "quiz"); ?>:</B></P></TD>
+    <TD>
+        <INPUT align="LEFT" type="text" id="acceptederror0" name="acceptederror[]" size="15" value="<? p($acceptederror) ?>" />&plusmn;
         <!-- Values max and min will be determined when the form is submitted -->
         <INPUT type="HIDDEN" id="min0" name="min[]" value=""/>
         <INPUT type="HIDDEN" id="max0" name="max[]" value=""/>