Sha256: 1afb8bc3579c3118f072175284fe84e0db4ae870d461c2bbc9ec0bbd6ac8d62c

Contents?: true

Size: 300 Bytes

Versions: 1

Compression:

Stored size: 300 Bytes

Contents

<% partial.content_for :original_message, "hello" %>

<%= render "basic" do |cp| %>
  <% cp.content_for :message, partial.content_for(:original_message) %>
<% end %>

<%= render "basic" do |cp| %>
  <% cp.content_for :message, "goodbye" %>
<% end %>

<span><%= partial.content_for :message %></span>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
nice_partials-0.1.9 test/fixtures/_partial_accessed_in_outer_context.html.erb