mirror of
https://github.com/moodle/moodle.git
synced 2025-03-14 04:30:15 +01:00
Merge branch 'MDL-71301-master' of https://github.com/junpataleta/moodle
This commit is contained in:
commit
913db0ba05
@ -24,6 +24,7 @@
|
||||
|
||||
$string['addmorechoiceblanks'] = 'Blanks for {no} more choices';
|
||||
$string['answer'] = 'Answer';
|
||||
$string['blanknumber'] = 'Blank {$a}';
|
||||
$string['choices'] = 'Choices';
|
||||
$string['choicex'] = 'Choice [[{no}]]';
|
||||
$string['combinedcontrolnamegapselect'] = 'drop-down menu';
|
||||
|
@ -72,7 +72,10 @@ class qtype_gapselect_renderer extends qtype_elements_embedded_in_question_text_
|
||||
}
|
||||
|
||||
// Use non-breaking space instead of 'Choose...'.
|
||||
$selecthtml = html_writer::select($selectoptions, $qa->get_qt_field_name($fieldname),
|
||||
$selecthtml = html_writer::label(get_string('blanknumber', 'qtype_gapselect', $place),
|
||||
$attributes['id'], false,
|
||||
array('class' => 'sr-only'));
|
||||
$selecthtml .= html_writer::select($selectoptions, $qa->get_qt_field_name($fieldname),
|
||||
$value, ' ', $attributes) . ' ' . $feedbackimage;
|
||||
return html_writer::tag('span', $selecthtml, array('class' => 'control '.$groupclass));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user