Hi!

Im having this weird problem when the yield gets overwritten with the
last yield used.. My application layout looks like this:

        <div id="left_sidebar">
            <%= render :partial => "shared/navigation" %>
        </div>

        <div id="main_content">
            <%= yield %>
        </div>

And the output becomes:

        <div id="left_sidebar">
            ### NAVIGATION CONTENT ###
        </div>

        <div id="main_content">
            ### NAVIGATION CONTENT ###    <-- i want this to be ###
MAIN CONTENT ###
        </div>

Am I using layouts/partials incorrectly?

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to