Sha256: f155d3782fa9a60fc1aaca65fab9ab54b524e07fbbb2bfb153586a1cd8497718
Contents?: true
Size: 692 Bytes
Versions: 24
Compression:
Stored size: 692 Bytes
Contents
<% object ||= current_attributes_object %> <% strategy ||= current_attributes_strategy || :none %> <% url ||= nil %> <% format ||= nil %> <% format_helper ||= nil %> <% format_helper_args ||= {} %> <% options ||= {} %> <% if object.public_send(attribute).present? %> <%= render 'shared/attributes/attribute', object: object, attribute: attribute, strategy: strategy do %> <% if format %> <%= sprintf(format, object.public_send(attribute)) %> <% elsif format_helper %> <%= ActiveSupport::NumberHelper.send(format_helper, object.public_send(attribute), **format_helper_args) %> <% else %> <%= object.public_send(attribute) %> <% end %> <% end %> <% end %>
Version data entries
24 entries across 24 versions & 1 rubygems