Heinz,

You should really take a look at this:

http://www.railsdev.ws/blog/3/modular-page-assembly-in-rails/

Cheers, Sazima

On Oct 22, 1:35 pm, Heinz Strunk <[EMAIL PROTECTED]>
wrote:
> Hello,
>
> I'm having a problem which is following:
> <div id="header"><img ...></div>
> <div id="navigation">[STUFF FROM THE DB]</div>
> <div id="submenu">[STUFF FROM THE DB]</div>
> <div id="content"><%= yield  %></div>
> <div id="footer">[STUFF FROM THE DB]</div>
>
> How can I fill the [STUFF FROM THE DB] div's when I only have one single
> yield? I can't think of any possible solution...
> --
> Posted viahttp://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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to