Merge branch 'MDL-66852-master' of github.com:lucaboesch/moodle
authorSara Arjona <sara@moodle.com>
Wed, 9 Oct 2019 10:58:00 +0000 (12:58 +0200)
committerSara Arjona <sara@moodle.com>
Wed, 9 Oct 2019 10:58:00 +0000 (12:58 +0200)
mod/quiz/renderer.php

index e9fc84c..92b3cb6 100644 (file)
@@ -560,7 +560,8 @@ class mod_quiz_renderer extends plugin_renderer_base {
      */
     public function redo_question_button($slot, $disabled) {
         $attributes = array('type' => 'submit',  'name' => 'redoslot' . $slot,
-                'value' => get_string('redoquestion', 'quiz'), 'class' => 'mod_quiz-redo_question_button');
+            'value' => get_string('redoquestion', 'quiz'),
+            'class' => 'mod_quiz-redo_question_button btn btn-secondary');
         if ($disabled) {
             $attributes['disabled'] = 'disabled';
         }