Sha256: 0791f7bcaf0582711571ae680d96c9dfc97b49bb320805372a1dfec233adf9c3
Contents?: true
Size: 612 Bytes
Versions: 106
Compression:
Stored size: 612 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_and_time(object.public_send(attribute), **local_assigns.slice(:format), **local_assigns.slice(:date_format), **local_assigns.slice(:time_format)) %> <% end %> <% else %> <%= default_message %> <% end %>
Version data entries
106 entries across 106 versions & 1 rubygems