MDL-69392 question: Fix Try again button styling

This commit is contained in:
Jun Pataleta
2020-10-21 14:57:58 +08:00
parent f78101f638
commit 413736095b
+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.