mirror of
https://github.com/moodle/moodle.git
synced 2025-03-21 08:00:37 +01:00
Merge branch 'MDL-66852-master' of github.com:lucaboesch/moodle
This commit is contained in:
commit
137befc2bd
@ -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';
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user