Merge branch 'MDL-61408-master' of https://github.com/lucaboesch/moodle

This commit is contained in:
Andrew Nicols
2018-02-22 08:30:49 +08:00
+1 -1
View File
@@ -234,7 +234,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';