test/fixtures/markup_app/views/content_for.erb in padrino-helpers-0.9.6 vs test/fixtures/markup_app/views/content_for.erb in padrino-helpers-0.9.7
- old
+ new
@@ -1,11 +1,11 @@
<% content_for :demo do %>
<h1>This is content yielded from a content_for</h1>
<% end %>
-
+
<div class='demo'><%= yield_content :demo %></div>
-
+
<% content_for :demo2 do |fname, lname| %>
<h1>This is content yielded with name <%= fname + " " + lname %></h1>
<% end %>
-
+
<div class='demo2'><%= yield_content :demo2, "Johnny", "Smith" %></div>
\ No newline at end of file