MDL-69392 question: Fix Try again button styling

This commit is contained in:
Jun Pataleta 2020-10-05 17:38:22 +08:00
parent 0ce40927cf
commit 8312eeacb0

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.