Sha256: 8ae5679744cec0acf407a0f7bb4f8469f7645ef17c969718a53f13adacf16468

Contents?: true

Size: 395 Bytes

Versions: 22

Compression:

Stored size: 395 Bytes

Contents

<% object ||= current_attributes_object %>
<% strategy ||= current_attributes_strategy || :none %>
<% url ||= nil %>

<%= render 'shared/attributes/base', strategy: strategy, url: url, attribute: attribute do |p| %>
  <% p.heading t("#{object.class.name.pluralize.underscore}.fields.#{attribute}.heading", default: object.class.human_attribute_name(attribute)) %>
  <% p.body yield %>
<% end %>

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
bullet_train-themes-1.7.18 app/views/themes/base/attributes/_attribute.html.erb
bullet_train-themes-1.7.17 app/views/themes/base/attributes/_attribute.html.erb