Sha256: 9fd9c4e838d447214eb6df61d3c8c6d91ad1bf26a1c7d319f6cd53e1aa84dacb
Contents?: true
Size: 857 Bytes
Versions: 2
Compression:
Stored size: 857 Bytes
Contents
<h3><%= t(".#{access}.title") %></h3> <p><%= t(".#{access}.help") %></p> <% if @form.collection_type_participants.select(&filter).any? %> <table class="table table-striped share-status"> <thead> <tr> <th><%= t(".#{access}.agent_name") %></th> <th><%= t(".#{access}.type") %></th> <th><%= t(".#{access}.action") %></th> </tr> </thead> <tbody> <% @form.collection_type_participants.select(&filter).each do |g| %> <tr> <td data-agent="<%= g.agent_id %>"><%= g.label %></td> <td><%= g.agent_type.titleize %></td> <td> <%= button_to "Remove", hyrax.admin_collection_type_participant_path(g), method: :delete, class: 'btn btn-danger' %> </td> </tr> <% end %> </tbody> </table> <% else %> <p><em><%= t(".#{access}.empty") %></em></p> <% end %>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
hyrax-2.1.0.beta2 | app/views/hyrax/admin/collection_types/_form_participant_table.html.erb |
hyrax-2.1.0.beta1 | app/views/hyrax/admin/collection_types/_form_participant_table.html.erb |