Disregard this post. Delete if you have the power. Thanks On May 13, 3:02 pm, sso <[email protected]> wrote: > The way this works I'm getting a table for each subsection. All I > really want is a <tr> for each subsection. It makes sense why this is > happening I'm just not sure of the most appropriate way to work around > this. Any suggestions? (I could just leave them in divs format them > with css, just looking at what else I can do) > > Thanks! > > #subsections/index.html.erb > <h1>Listing subsections</h1> > <%= render :partial => 'subsection', :collection => @subsections %> > <br /> > > #_subsection.html.erb > <table> > <% div_for subsection do %> > <tr> > <td><%=h subsection.section_id %></td> > </tr> > > <% end %> > </table> > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group > athttp://groups.google.com/group/rubyonrails-talk?hl=en.
-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

