Sha256: d896eb557cb4b1ebfd828d3263100962b4b5e8535794871f8889a9186fcd8c54

Contents?: true

Size: 1021 Bytes

Versions: 7

Compression:

Stored size: 1021 Bytes

Contents

                  <h3><%= t(".#{access}.title") %></h3>
                  <p><%= t(".#{access}.help") %></p>
                  <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"), sufia.admin_permission_template_access_path(g), method: :delete, class: 'btn btn-danger' %></td>
                      </tr>
                    <% end %>
                    </tbody>
                  </table>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
sufia-7.4.1 app/views/sufia/admin/admin_sets/_form_participant_table.html.erb
sufia-7.4.0 app/views/sufia/admin/admin_sets/_form_participant_table.html.erb
sufia-7.3.1 app/views/sufia/admin/admin_sets/_form_participant_table.html.erb
sufia-7.3.0 app/views/sufia/admin/admin_sets/_form_participant_table.html.erb
sufia-7.3.0.rc3 app/views/sufia/admin/admin_sets/_form_participant_table.html.erb
sufia-7.3.0.rc2 app/views/sufia/admin/admin_sets/_form_participant_table.html.erb
sufia-7.3.0.rc1 app/views/sufia/admin/admin_sets/_form_participant_table.html.erb