Navigation Menu

Skip to content

Commit

Permalink
MDL-30893 Accessibility Submit button in forgot password page now hav…
Browse files Browse the repository at this point in the history
…e separate ids
  • Loading branch information
ankitagarwal committed Mar 2, 2012
1 parent 5bbf3cb commit cc4e047
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions login/forgot_password_form.php
Expand Up @@ -39,15 +39,15 @@ function definition() {
$mform->setType('username', PARAM_RAW);

$submitlabel = get_string('search');
$mform->addElement('submit', 'submitbutton', $submitlabel);
$mform->addElement('submit', 'submitbuttonusername', $submitlabel);

$mform->addElement('header', '', get_string('searchbyemail'), '');

$mform->addElement('text', 'email', get_string('email'));
$mform->setType('email', PARAM_RAW);

$submitlabel = get_string('search');
$mform->addElement('submit', 'submitbutton', $submitlabel);
$mform->addElement('submit', 'submitbuttonemail', $submitlabel);
}

function validation($data, $files) {
Expand Down

0 comments on commit cc4e047

Please sign in to comment.