mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 08:56:36 +02:00
MDL-78369 Multiple choice: Increase Choice and feedback boxes size
This commit is contained in:
parent
8c989335be
commit
cc2512d450
1 changed files with 2 additions and 2 deletions
|
@ -80,11 +80,11 @@ class qtype_multichoice_edit_form extends question_edit_form {
|
||||||
&$repeatedoptions, &$answersoption) {
|
&$repeatedoptions, &$answersoption) {
|
||||||
$repeated = array();
|
$repeated = array();
|
||||||
$repeated[] = $mform->createElement('editor', 'answer',
|
$repeated[] = $mform->createElement('editor', 'answer',
|
||||||
$label, array('rows' => 1), $this->editoroptions);
|
$label, ['rows' => 2], $this->editoroptions);
|
||||||
$repeated[] = $mform->createElement('select', 'fraction',
|
$repeated[] = $mform->createElement('select', 'fraction',
|
||||||
get_string('gradenoun'), $gradeoptions);
|
get_string('gradenoun'), $gradeoptions);
|
||||||
$repeated[] = $mform->createElement('editor', 'feedback',
|
$repeated[] = $mform->createElement('editor', 'feedback',
|
||||||
get_string('feedback', 'question'), array('rows' => 1), $this->editoroptions);
|
get_string('feedback', 'question'), ['rows' => 2], $this->editoroptions);
|
||||||
$repeatedoptions['answer']['type'] = PARAM_RAW;
|
$repeatedoptions['answer']['type'] = PARAM_RAW;
|
||||||
$repeatedoptions['fraction']['default'] = 0;
|
$repeatedoptions['fraction']['default'] = 0;
|
||||||
$answersoption = 'answers';
|
$answersoption = 'answers';
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue