Sha256: 62cb1b3ee81e6efca56271dd324a9d76b8e6ad39fdbd994025e35953edc38012
Contents?: true
Size: 1.23 KB
Versions: 9
Compression:
Stored size: 1.23 KB
Contents
<h3><%= t(".#{access}.title") %></h3> <p><%= t(".#{access}.help") %></p> <% if @form.permission_template.access_grants.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.permission_template.access_grants.select(&filter).each do |g| %> <tr> <td><%= g.agent_id %></td> <td><%= g.agent_type.titleize %></td> <td><%= button_to t(".#{access}.remove"), hyrax.admin_permission_template_access_path(g), method: :delete, class: 'btn btn-danger' %></td> </tr> <% end %> </tbody> </table> <% else %> <em><%= t(".#{access}.empty") %></em> <% end %>
Version data entries
9 entries across 9 versions & 1 rubygems