Sha256: 798a7d6af8fc2c7c4a22724df158cf7e40d01fb91f11cd39ca6dc236f60e229c
Contents?: true
Size: 494 Bytes
Versions: 74
Compression:
Stored size: 494 Bytes
Contents
<% object ||= current_attributes_object %> <% strategy ||= current_attributes_strategy || :none %> <% url ||= nil %> <% default_message = local_assigns[:default_message] || t("global.never") %> <%= render 'shared/attributes/attribute', object: object, attribute: attribute, strategy: strategy, url: url do %> <% if object.public_send(attribute) %> <%= t("global.time_ago", time: time_ago_in_words(object.send(attribute))) %> <% else %> <%= default_message %> <% end %> <% end %>
Version data entries
74 entries across 74 versions & 1 rubygems