MDL-62594 question type: cloze question theme boost

This commit is contained in:
Bas Brands 2018-06-07 13:58:43 +02:00
parent 5b4ca9eb5b
commit f2b71ab281

View File

@ -222,7 +222,7 @@ class qtype_multianswer_textfield_renderer extends qtype_multianswer_subq_render
'value' => $response,
'id' => $qa->get_qt_field_name($fieldname),
'size' => $size,
'class' => 'form-control',
'class' => 'form-control mb-1',
);
if ($options->readonly) {
$inputattributes['readonly'] = 'readonly';
@ -245,7 +245,7 @@ class qtype_multianswer_textfield_renderer extends qtype_multianswer_subq_render
$qa, 'question', 'answerfeedback', $matchinganswer->id),
s($correctanswer->answer), $options);
$output = html_writer::start_tag('span', array('class' => 'subquestion form-inline'));
$output = html_writer::start_tag('span', array('class' => 'subquestion form-inline d-inline'));
$output .= html_writer::tag('label', get_string('answer'),
array('class' => 'subq accesshide', 'for' => $inputattributes['id']));
$output .= html_writer::empty_tag('input', $inputattributes);