diff --git a/question/type/numerical/display.html b/question/type/numerical/display.html index cb3dff44191..4262283926d 100644 --- a/question/type/numerical/display.html +++ b/question/type/numerical/display.html @@ -105,15 +105,18 @@ options->units)){?> -
+
- + +
class = '' ; $a->feedbackimg = ''; - $a->control = ""; + $a->control = ""; if ($options->correct_responses && $classunitvalue > 0 ) { //$answer->fraction $a->class = question_get_feedback_class($classunitvalue); } if (($options->feedback && $chosen) || $options->correct_responses) { - /* if ($type == ' type="checkbox" ') { - // $a->feedbackimg = question_get_feedback_image($answer->fraction > 0 ? 1 : 0, $chosen && $options->feedback); $a->feedbackimg = question_get_feedback_image($classunitvalue, $chosen && $options->feedback); - - } else {*/ - $a->feedbackimg = question_get_feedback_image($classunitvalue, $chosen && $options->feedback); - - // } } // Print the control @@ -174,27 +170,31 @@ $row = 0 ; ?> - - - + + - + + + -
- control; ?> - -
+ control.'   '; ?> + + -
-
+ + + + -
+