Sha256: bc87d8000adf7c99b8b79b90e2f0fec45fdfbe77a6e2f4082fb95b7f62e887bb
Contents?: true
Size: 566 Bytes
Versions: 106
Compression:
Stored size: 566 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.public_send(attribute).present? %> <%= render 'shared/attributes/attribute', object: object, attribute: attribute, strategy: strategy, url: url do %> <%= display_date(object.public_send(attribute), **local_assigns.slice(:format), **local_assigns.slice(:date_format)) %> <% end %> <% else %> <%= default_message %> <% end %>
Version data entries
106 entries across 106 versions & 1 rubygems