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

Radio button not rendering for nested attributes #75

Closed
patricklindsay opened this issue Jan 3, 2015 · 0 comments
Closed

Radio button not rendering for nested attributes #75

patricklindsay opened this issue Jan 3, 2015 · 0 comments

Comments

@patricklindsay
Copy link
Contributor

When I try to render a radio button for a nested attribute it simply does not appear.
This works.
<%= f.radio_button(:foo, "Yes") %>

This doesn't

 <%= f.fields_for :bar_model do | bar_model | %>
   <%= bar_model.radio_button(:baz, true, text: 'Yes') %>

The label appears but the HTML for the radio button is not rendered. Any ideas?

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

No branches or pull requests

1 participant