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
Multiple elements with non-unique id #2520
Comments
This is useless unless you tell us what page you are referring to. |
As this is the main page |
I think this is because there are two different versions of the form, one for the normal view and one for the mobile view, so it's probably not very easy to fix. I suspect nothing actually uses the ids but rails probably generates them automatically - actual usage is probably via the form field names and hopefully always uses the form that is actually live and visible. |
This seems to be related to partial
Header level form was originally (re-)introduced in dd12e1d |
Isn't that exactly what I said? The first one is for the mobile site and the second one for the desktop site. |
Yes, you've already mentioned that. I thought it might be interesting to have a bit of context where this happens in the codebase. |
Chrome complains:
This DOM feels not right indeed:
The text was updated successfully, but these errors were encountered: