diff --git a/mod/quiz/lang/en/quiz.php b/mod/quiz/lang/en/quiz.php index 9546ea088fe..5f0eb1edd57 100644 --- a/mod/quiz/lang/en/quiz.php +++ b/mod/quiz/lang/en/quiz.php @@ -95,6 +95,7 @@ $string['attemptlast'] = 'Last attempt'; $string['attemptnumber'] = 'Attempt'; $string['attemptquiznow'] = 'Attempt quiz now'; $string['attempts'] = 'Attempts'; +$string['attempts_help'] = 'The total number of attempts allowed (not the number of extra attempts).'; $string['attemptsallowed'] = 'Attempts allowed'; $string['attemptsdeleted'] = 'Quiz attempts deleted'; $string['attemptselection'] = 'Select which attempts to analyze per user:'; diff --git a/mod/quiz/override_form.php b/mod/quiz/override_form.php index d97eea29617..695f82c668f 100644 --- a/mod/quiz/override_form.php +++ b/mod/quiz/override_form.php @@ -200,6 +200,7 @@ class quiz_override_form extends moodleform { } $mform->addElement('select', 'attempts', get_string('attemptsallowed', 'quiz'), $attemptoptions); + $mform->addHelpButton('attempts', 'attempts', 'quiz'); $mform->setDefault('attempts', $this->quiz->attempts); // Submit buttons.