Skip to content

Commit

Permalink
Merge branch 'MDL-66852-36' of github.com:lucaboesch/moodle into MOOD…
Browse files Browse the repository at this point in the history
…LE_36_STABLE
  • Loading branch information
sarjona committed Oct 9, 2019
2 parents 507928a + 6b8b0e2 commit 479eda9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mod/quiz/renderer.php
Expand Up @@ -560,7 +560,8 @@ protected function attempt_navigation_buttons($page, $lastpage, $navmethod = 'fr
*/
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';
}
Expand Down

0 comments on commit 479eda9

Please sign in to comment.