From 259bbd1960d7a3cba8a4f5f67e170ed140a81bed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luca=20B=C3=B6sch?= Date: Fri, 4 Oct 2019 17:14:28 +0200 Subject: [PATCH] MDL-66852 quiz: Style "Try another question like this one" button. --- mod/quiz/renderer.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mod/quiz/renderer.php b/mod/quiz/renderer.php index e9fc84c6f1d..92b3cb6d19a 100644 --- a/mod/quiz/renderer.php +++ b/mod/quiz/renderer.php @@ -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'; }