-
Notifications
You must be signed in to change notification settings - Fork 222
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
Registration form labels aren't linked to input fields #315
Comments
Thanks for reporting. Would be a nice PR for someone new to the project. |
As I’m really new to the Elixir world, I wasn’t sure enough to open a PR, but now I have you confirmation, I’lol open it. Thank you. |
I am really new to elixir world. My guess is by removing
|
What seems to work for me is to change |
[#315] Registration labels inconsistency
Thank you @smpallen99 |
I'm completely new to Elixir/Phoenix and coherence, and I have created a new phoenix project and added coherence and all is working fine.
Now I'm writing tests and I need to login before to do whatever else, but my test is failing stating that the label
for
isn't matching any fields on the page.Have a closer look at the source code of the page I found out that the label
for
containsregistration_Name
while the input field as itsid
attribute toregistration_name
.I think the issue comes from the
required_label
function which should receive and pass the field to thelabel
call.I have updated the
form.eex
file replacing therequired_label
with:then the label is now well connected to the field.
The text was updated successfully, but these errors were encountered: