app/views/showcase/previews/partials/actions/_box.html.erb in bullet_train-themes-light-1.2.19 vs app/views/showcase/previews/partials/actions/_box.html.erb in bullet_train-themes-light-1.2.20
- old
+ new
@@ -1,8 +1,8 @@
<% showcase.sample "Basic" do %>
- <%= render "shared/actions/box" do |partial| %>
- <% partial.content_for :title, "Title" %>
- <% partial.content_for :table, "Some table content" %>
+ <%= render "shared/actions/box" do |box| %>
+ <% box.title "Title" %>
+ <% box.table "Some table content" %>
<% end %>
<% end %>
<% showcase.options.context :nice_partials do |o| %>
<% o.optional.content_block :title %>