Improve help text to set formula to calculate answer question

Refs #2081
pull/2487/head
Angel Fernando Quiroz Campos 9 years ago
parent cbf357494b
commit 4f8aeb94a0
  1. 3
      main/exercise/calculated_answer.class.php

@ -154,8 +154,7 @@ class CalculatedAnswer extends Question
$notationListButton
);
$form->addElement('label', null, get_lang('FormulaExample'));
$form->addElement('text', 'formula', get_lang('Formula'), array('id' => 'formula'));
$form->addElement('text', 'formula', [get_lang('Formula'), get_lang('FormulaExample')], array('id' => 'formula'));
$form->addRule('formula', get_lang('GiveFormula'), 'required');
$form->addElement('text', 'weighting', get_lang('Weighting'), array('id' => 'weighting'));

Loading…
Cancel
Save