From ed66fb1390ae70110684e641b84446489118b3d7 Mon Sep 17 00:00:00 2001 From: tjhunt Date: Mon, 11 Jun 2007 16:42:13 +0000 Subject: [PATCH] MDL-9996 - Multiple choice answer box too small in the question editing form in Moodle 1.8. Merged from MOODLE_18_STABLE. --- question/type/multichoice/edit_multichoice_form.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/question/type/multichoice/edit_multichoice_form.php b/question/type/multichoice/edit_multichoice_form.php index cd0540e24fe..3879986a750 100644 --- a/question/type/multichoice/edit_multichoice_form.php +++ b/question/type/multichoice/edit_multichoice_form.php @@ -44,7 +44,7 @@ class question_edit_multichoice_form extends question_edit_form { $gradeoptions = $creategrades->gradeoptionsfull; $repeated = array(); $repeated[] =& $mform->createElement('header', 'choicehdr', get_string('choiceno', 'qtype_multichoice', '{no}')); - $repeated[] =& $mform->createElement('text', 'answer', get_string('answer', 'quiz')); + $repeated[] =& $mform->createElement('text', 'answer', get_string('answer', 'quiz'), array('size' => 50)); $repeated[] =& $mform->createElement('select', 'fraction', get_string('grade'), $gradeoptions); $repeated[] =& $mform->createElement('htmleditor', 'feedback', get_string('feedback', 'quiz'));