Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes warning from multiple HTML elements with the same ID #2201

Merged
merged 1 commit into from
Jul 31, 2020

Conversation

misaugstad
Copy link
Member

Fixes #2040

Fixes the warnings about multiple HTML elements having the ID. The issue was that all of our various sign in/up methods used identical IDs. So the password field had the ID "password" on the sign in page, sign up page, in the navbar sign in, navbar sign up, and on the password reset page. Multiple of these fields could be present at the same time. For example, at /signIn, there was the password field in the main form on the page, plus the password fields in the sign and and sign up forms within the navbar.

This PR fixes this issue by changing the names of a few elements to make them unique and removing the sign in button from the navbar on /signIn and /signUp.

@misaugstad misaugstad self-assigned this Jul 31, 2020
@misaugstad misaugstad merged commit 747034e into develop Jul 31, 2020
@misaugstad misaugstad deleted the 2040-warning-fix-html-divs-with-same-names branch July 31, 2020 01:44
@misaugstad misaugstad mentioned this pull request Sep 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant