Sha256: cb1cb517369efc12d486669b6546a4eb3730692c1a7d65430cdb8849e9171957
Contents?: true
Size: 550 Bytes
Versions: 18
Compression:
Stored size: 550 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_and_time(object.send(attribute), local_assigns[:date_format], local_assigns[:time_format]) %> <% end %> <% else %> <%= default_message %> <% end %>
Version data entries
18 entries across 18 versions & 1 rubygems