Sha256: e98db3850283f38ca0d775773caf644b7c0e87803d9f74dfc29f5a5328efeb50

Contents?: true

Size: 305 Bytes

Versions: 100

Compression:

Stored size: 305 Bytes

Contents

<%= render(:layout => "layout_for_partial", :locals => { :name => "Anthony" }) do %>Inside from first block in layout<% "Return value should be discarded" %><% end %>
<%= yield %>
<%= render(:layout => "layout_for_partial", :locals => { :name => "Ramm" }) do %>Inside from second block in layout<% end %>

Version data entries

100 entries across 50 versions & 3 rubygems

Version Path
jets-1.9.7 vendor/rails/actionpack/test/fixtures/layouts/block_with_layout.erb
jets-1.9.7 vendor/rails/actionview/test/fixtures/actionpack/layouts/block_with_layout.erb
jets-1.9.6 vendor/rails/actionview/test/fixtures/actionpack/layouts/block_with_layout.erb
jets-1.9.6 vendor/rails/actionpack/test/fixtures/layouts/block_with_layout.erb
jets-1.9.5 vendor/rails/actionview/test/fixtures/actionpack/layouts/block_with_layout.erb
jets-1.9.5 vendor/rails/actionpack/test/fixtures/layouts/block_with_layout.erb
jets-1.9.4 vendor/rails/actionpack/test/fixtures/layouts/block_with_layout.erb
jets-1.9.4 vendor/rails/actionview/test/fixtures/actionpack/layouts/block_with_layout.erb
jets-1.9.3 vendor/rails/actionview/test/fixtures/actionpack/layouts/block_with_layout.erb
jets-1.9.3 vendor/rails/actionpack/test/fixtures/layouts/block_with_layout.erb
jets-1.9.2 vendor/rails/actionpack/test/fixtures/layouts/block_with_layout.erb
jets-1.9.2 vendor/rails/actionview/test/fixtures/actionpack/layouts/block_with_layout.erb
jets-1.9.1 vendor/rails/actionpack/test/fixtures/layouts/block_with_layout.erb
jets-1.9.1 vendor/rails/actionview/test/fixtures/actionpack/layouts/block_with_layout.erb
jets-1.9.0 vendor/rails/actionview/test/fixtures/actionpack/layouts/block_with_layout.erb
jets-1.9.0 vendor/rails/actionpack/test/fixtures/layouts/block_with_layout.erb
jets-1.8.14 vendor/rails/actionpack/test/fixtures/layouts/block_with_layout.erb
jets-1.8.14 vendor/rails/actionview/test/fixtures/actionpack/layouts/block_with_layout.erb
jets-1.8.13 vendor/rails/actionpack/test/fixtures/layouts/block_with_layout.erb
jets-1.8.13 vendor/rails/actionview/test/fixtures/actionpack/layouts/block_with_layout.erb