MDL-69392 question: Fix Try again button styling
authorJun Pataleta <jun@moodle.com>
Mon, 5 Oct 2020 09:38:22 +0000 (17:38 +0800)
committerJun Pataleta <jun@moodle.com>
Wed, 21 Oct 2020 06:54:24 +0000 (14:54 +0800)
question/behaviour/interactive/renderer.php

index 91a76bc..804a9a3 100644 (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.