Best practices with templating

I think that the more standard approach is the fourth.

In the layout:

.... <%= yield :sidebar %> <%= yield :sidenav %>

Put the div in the partial?

///ark

<% unless yield(:sidebar).blank? %>   <div id="sidebar">     <%= yield :sidebar %>   </div> <% end %>

Hi Philip,

You might find this article of interest.

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

I meant to post it earlier, but forgot to. It might answer some of your questions.

Peace, Phillip