Sha256: c9a94f0b07bba79fdf889393989d7cb8a68e1c6d6b160cadb7e320512fdf55b9
Contents?: true
Size: 478 Bytes
Versions: 25
Compression:
Stored size: 478 Bytes
Contents
<% object ||= current_attributes_object %> <% strategy ||= current_attributes_strategy || :none %> <% url ||= nil %> <% if object.send(attribute).any? %> <%= render 'shared/attributes/attribute', object: object, attribute: attribute, strategy: strategy, url: url do %> <%= object.send(attribute).map do |value| %> <% t("#{object.class.name.underscore.pluralize}.fields.#{attribute}.options.#{value}") %> <% end.map(&:strip).to_sentence %> <% end %> <% end %>
Version data entries
25 entries across 25 versions & 2 rubygems