app/views/themes/base/attributes/_attribute.html.erb in bullet_train-themes-1.2.20 vs app/views/themes/base/attributes/_attribute.html.erb in bullet_train-themes-1.2.21
- old
+ new
@@ -1,8 +1,8 @@
<% object ||= current_attributes_object %>
<% strategy ||= current_attributes_strategy || :none %>
<% url ||= nil %>
<%= render 'shared/attributes/base', strategy: strategy, url: url do |p| %>
- <% p.content_for :heading, t("#{object.class.name.pluralize.underscore}.fields.#{attribute}.heading") %>
- <% p.content_for :body, yield %>
+ <% p.heading t("#{object.class.name.pluralize.underscore}.fields.#{attribute}.heading") %>
+ <% p.body yield %>
<% end %>