nico Itkin
2008-Jul-09 23:16 UTC
rendering a collection of partial inserted in their layout
hi ! i''ve to render a collection of partial, each element need to be inserted in a layout which render the html presentation. <div class="my_layout"> <div>collection_element_1</div> </div> <div class="my_layout"> <div>collection_element_2</div> </div> ... render :partial, collection => @collection, :layout => ''layouts/my_layout'' => render the hole collection in a global layout How would you do ? -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---