Sha256: 46e50290b0ba7339027855019548edf4616ea36487d329509fcb772cc492187a
Contents?: true
Size: 531 Bytes
Versions: 54
Compression:
Stored size: 531 Bytes
Contents
<% object ||= current_attributes_object %> <% strategy ||= current_attributes_strategy || :none %> <% disable_link ||= false %> <% url ||= nil %> <% if object.send(attribute).present? %> <%= render 'shared/attributes/attribute', object: object, attribute: attribute, strategy: strategy, url: url do %> <% if disable_link %> <%= object.send(attribute).label_string %> <% else %> <%= link_to object.send(attribute).label_string, url || [:account, object.send(attribute)] %> <% end %> <% end %> <% end %>
Version data entries
54 entries across 54 versions & 2 rubygems