MDL-69392 question: Fix Try again button styling

This commit is contained in:
Jun Pataleta
2020-10-21 14:11:39 +08:00
parent 3b7f63337e
commit 56bfa69a72
+1 -1
View File
@@ -57,7 +57,7 @@ class qbehaviour_interactive_renderer extends qbehaviour_renderer {
'id' => $qa->get_behaviour_field_name('tryagain'),
'name' => $qa->get_behaviour_field_name('tryagain'),
'value' => get_string('tryagain', 'qbehaviour_interactive'),
'class' => 'submit btn',
'class' => 'submit btn btn-secondary',
);
if ($options->readonly === qbehaviour_interactive::TRY_AGAIN_VISIBLE_READONLY) {
// This means the question really was rendered with read-only option.