MDL-66852 quiz: Style "Try another question like this one" button.
This commit is contained in:
@@ -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';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user