Sha256: 7cb1811fea550ecc9b0936509e113bbf5fb2aebb4dcb03e958a4c2b5c6978cc6
Contents?: true
Size: 813 Bytes
Versions: 1
Compression:
Stored size: 813 Bytes
Contents
<% member_presenters = presenter.member_presenters.group_by(&:model_name).transform_keys{|key| key.to_s.singularize.underscore}.select{ |k,v| k.to_sym != :file_set } %> <% if member_presenters.blank? %> <tr> <th><%= t(".label", type: presenter.human_readable_type) %></th> <td> <p><%= t('.empty', type: presenter.human_readable_type) %></p> </td> </tr> <% else %> <% member_presenters.each_pair do |model_name, members| %> <tr> <th><%= t(".label", type: presenter.human_readable_type) %></th> <td> <ul class="tabular"> <% members.each do |member| %> <li class='attribute title'> <%= link_to member.title.first, [main_app, member] %> </li> <% end %> </ul> </td> </tr> <% end %> <% end %>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
sufia-7.1.0 | app/views/curation_concerns/base/_relationships_member_rows.html.erb |