-
Notifications
You must be signed in to change notification settings - Fork 16
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
Missing fields_for helper, and some forms weirdness #21
Comments
What a seriously weird bug (i.e., adding another tag in the inner block makes the text field disappear). I’ve written a spec that reproduces the issue, exactly as you said…working on fixing it now. |
OK, I understand exactly what's going on here, and how to fix it. I think I need to reify some of the helper definition logic in |
Just pushed the fix. Once it passes Travis, I'll release 0.9.4. |
Just released 0.9.4. |
It should be possible to do
But
fields_for
is not a helper defined onform_for
helper.I added
fields_for
to theoutput_yielded_methods
, which fixed it for my example above, generting the correct HTML:But, if I add an additional tag within the
fields_for
block,inner.text_field "greets"
is no longer output.Outputs the HTML, (notice the div tag is there, but not the input)
The text was updated successfully, but these errors were encountered: