Sha256: c560b5b846271baed88809b844be9690c5727b2770b8d26722af264f0a8c124f

Contents?: true

Size: 234 Bytes

Versions: 4

Compression:

Stored size: 234 Bytes

Contents

<% unique_collection = value.uniq %>
<% if unique_collection.present? %>
  <%= raw unique_collection.map { |item| show_link item }.to_sentence %>
<% end %>
<%= new_link metadata[:class], prepend: unique_collection.present? && 'or' %>

Version data entries

4 entries across 2 versions & 1 rubygems

Version Path
wallaby-4.1.6 app/views/wallaby/resources/show/_has_and_belongs_to_many.html.erb
wallaby-4.1.6 app/views/wallaby/resources/show/_has_many.html.erb
wallaby-5.0.1 app/views/wallaby/resources/show/_has_and_belongs_to_many.html.erb
wallaby-5.0.1 app/views/wallaby/resources/show/_has_many.html.erb