RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: bkarstaedt
Site: www.modularweb.net
I'm using the gem nested_form - it's great! But there's a (beginner) problem I have with its output. The fields_for
gem nested_form
<%= f.fields_for :news_item do |report| %> ... <% end %>
seems to wrap everything in it in a <div class="fields">...</div>. How to avoid this?
<div class="fields">...</div>
I'm using the
gem nested_form
- it's great! But there's a (beginner) problem I have with its output. The fields_for<%= f.fields_for :news_item do |report| %> ... <% end %>
seems to wrap everything in it in a
<div class="fields">...</div>
. How to avoid this?