Dave S wrote:
> Actually you'd want this...
> 
> application.html.erb
> 
> <div id='wrapper'>
>   <div id='sidebar'>
>     <%= yield :sidebar %>
>   </div>
>   <div id='content'>
>     <%= yield %>
>   </div>
> </div>
> 
> 
> show.html.erb
> 
> Anything you type here will show in the content div
> <% content_for :sidebar do %>
>   this will show up in the sidebar div
> <% end %>

Ok .. so that's the trick!  Mucho appreciated Dave; thanks for taking 
the time.

rubio
-- 
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@googlegroups.com
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to