1 2 3 4
<%= render :layout => 'test/layout_for_partial', :locals => { :name => 'Bar!' } do %> Content from inside layout! <% end %> partial with layout