Sha256: cc7f8a0f45b46b09d12175e4e63420faee8649be2983d11813357e25328de82c
Contents?: true
Size: 512 Bytes
Versions: 18
Compression:
Stored size: 512 Bytes
Contents
<% object ||= current_attributes_object %> <% strategy ||= current_attributes_strategy || :none %> <% url ||= nil %> <% default_message = local_assigns[:default_message] || t('global.formats.timestamp_unavailable') %> <% if object.send(attribute).present? %> <%= render 'shared/attributes/attribute', object: object, attribute: attribute, strategy: strategy, url: url do %> <%= display_date(object.send(attribute), local_assigns[:date_format]) %> <% end %> <% else %> <%= default_message %> <% end %>
Version data entries
18 entries across 18 versions & 1 rubygems