From 3ecbba5d59bcee0edd5bb546e2e12b13919e38fb Mon Sep 17 00:00:00 2001 From: Carlos Vargas Date: Mon, 16 Feb 2009 22:41:39 +0100 Subject: [PATCH] [svn r18528] minor change format in add exercises form see FS#3510 --- main/exercice/unique_answer.class.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main/exercice/unique_answer.class.php b/main/exercice/unique_answer.class.php index 91f257dfbe..7389cb8351 100644 --- a/main/exercice/unique_answer.class.php +++ b/main/exercice/unique_answer.class.php @@ -248,11 +248,12 @@ class UniqueAnswer extends Question { //$form->addElement('select', 'destination'.$i, get_lang('SelectQuestion').' : ',$select_question,'multiple'); - $form->addElement('text', 'weighting['.$i.']',null, 'style="vertical-align:middle;margin-left: 0em;" size="5" value="0"'); + $form->addElement('text', 'weighting['.$i.']',null, 'style="vertical-align:middle;margin-left: 0em;" size="2" value="0"'); $form -> addElement ('html', ''); } $form -> addElement ('html', ''); + $form -> addElement ('html', '
'); $form->addElement('style_submit_button', 'lessAnswers', get_lang('LessAnswer')); $form->addElement('style_submit_button', 'moreAnswers', get_lang('PlusAnswer'));