Source

RubyLearning / ProjectTrak / vendor / rails / actionpack / test / fixtures / layouts / partial_with_layout.erb

Full commit
1
2
3
<%= render( :layout => "layout_for_partial", :partial => "partial_for_use_in_layout", :locals => {:name => 'Anthony' } ) %>
<%= yield %>
<%= render( :layout => "layout_for_partial", :partial => "partial_for_use_in_layout", :locals => {:name => 'Ramm' } ) %>