Sha256: d848072fbeb2473d62737357143728fb8b5e9afb7349208b0e59dd2398135590
Contents?: true
Size: 755 Bytes
Versions: 114
Compression:
Stored size: 755 Bytes
Contents
<% object ||= current_attributes_object %> <% strategy ||= current_attributes_strategy || :none %> <% link_source ||= nil %> <% disable_links ||= false %> <% link_options ||= {} %> <% if object.public_send(attribute).any? %> <%= render 'shared/attributes/attribute', object: object, attribute: attribute, strategy: strategy do %> <%= object.public_send(attribute).map do |child_object| %> <% capture do %> <% if disable_links %> <%= child_object.label_string %> <% else %> <%= link_to child_object.label_string, [:account, link_source ? child_object.send(link_source) : child_object], link_options %> <% end %> <% end %> <% end.map(&:strip).to_sentence.html_safe %> <% end %> <% end %>
Version data entries
114 entries across 114 versions & 1 rubygems