write <tr> in partial files Your main file in my example a.rhtml will look like <%= render :partial=>'b'%> <%= render :partial=>'c' %>
On Thu, Jan 1, 2009 at 6:49 AM, Zhao Yi <[email protected]>wrote: > > Ramu wrote: > > Your code will does this job. > > > > Is your problem some thing like: > > you have a.rhtml file > > int that you have to show _b.rhtml file contents as well as _c.rhtml > > contents? > > > > Then write your code like this: > > > > == This is a.rhtml file > > > > <%= render :partial=>'b'%> > > > > <%= render :partial=>'c' %> > > -- > > Ramu > > But how can I handle the <tr> element? the two partial should be in > different <tr> element. > -- > Posted via http://www.ruby-forum.com/. > > > > -- Ramu --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

