Sha256: 942630a7fa8412b94d8b7eef924ee02ce436024f462c53e29e18779f761b9d9c

Contents?: true

Size: 414 Bytes

Versions: 38

Compression:

Stored size: 414 Bytes

Contents

<%# @param object [model] model instance %>
<%# @param field_name [String] name of the field %>
<%# @param value [Object] value of the field %>
<%# @param metadata [Hash] metadata of the field %>
<% unique_collection = value.uniq %>
<% if unique_collection.present? %>
  <%= raw unique_collection.map { |item| show_link item, options: { readonly: true } }.to_sentence %>
<% end %>
<%= new_link metadata[:class] %>

Version data entries

38 entries across 19 versions & 1 rubygems

Version Path
wallaby-8.0.0 app/views/wallaby/resources/show/_has_and_belongs_to_many.html.erb
wallaby-8.0.0 app/views/wallaby/resources/show/_has_many.html.erb
wallaby-7.0.0 app/views/wallaby/resources/show/_has_and_belongs_to_many.html.erb
wallaby-7.0.0 app/views/wallaby/resources/show/_has_many.html.erb
wallaby-7.0.0.beta2 app/views/wallaby/resources/show/_has_and_belongs_to_many.html.erb
wallaby-7.0.0.beta2 app/views/wallaby/resources/show/_has_many.html.erb
wallaby-7.0.0.beta1 app/views/wallaby/resources/show/_has_many.html.erb
wallaby-7.0.0.beta1 app/views/wallaby/resources/show/_has_and_belongs_to_many.html.erb
wallaby-6.1.6 app/views/wallaby/resources/show/_has_many.html.erb
wallaby-6.1.6 app/views/wallaby/resources/show/_has_and_belongs_to_many.html.erb
wallaby-6.1.5 app/views/wallaby/resources/show/_has_many.html.erb
wallaby-6.1.5 app/views/wallaby/resources/show/_has_and_belongs_to_many.html.erb
wallaby-6.1.4 app/views/wallaby/resources/show/_has_many.html.erb
wallaby-6.1.4 app/views/wallaby/resources/show/_has_and_belongs_to_many.html.erb
wallaby-6.1.3 app/views/wallaby/resources/show/_has_and_belongs_to_many.html.erb
wallaby-6.1.3 app/views/wallaby/resources/show/_has_many.html.erb
wallaby-6.1.2 app/views/wallaby/resources/show/_has_and_belongs_to_many.html.erb
wallaby-6.1.2 app/views/wallaby/resources/show/_has_many.html.erb
wallaby-6.1.1 app/views/wallaby/resources/show/_has_many.html.erb
wallaby-6.1.1 app/views/wallaby/resources/show/_has_and_belongs_to_many.html.erb