Merge branch 'MDL-61408-33' of https://github.com/lucaboesch/moodle into MOODLE_33_STABLE

This commit is contained in:
Andrew Nicols
2018-02-22 08:31:57 +08:00
+1 -1
View File
@@ -214,7 +214,7 @@ abstract class qbehaviour_renderer extends plugin_renderer_base {
'id' => $qa->get_behaviour_field_name('submit'),
'name' => $qa->get_behaviour_field_name('submit'),
'value' => get_string('check', 'question'),
'class' => 'submit btn',
'class' => 'submit btn btn-default',
);
if ($options->readonly) {
$attributes['disabled'] = 'disabled';