Sha256: b2c1b478cae4fd5ce434617151a70429aebcb3357fc36842593ce3833b48b4b1

Contents?: true

Size: 653 Bytes

Versions: 8

Compression:

Stored size: 653 Bytes

Contents

<% if can? :view, Kaui::AdminTenant %>
    <% unless @allowed_users.empty? %>
    <table id="allowed-users-table" class="table table-condensed">
      <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
      </thead>
      <tbody>
      <% @allowed_users.each do |u | %>
          <tr>
            <td><%= link_to u.kb_username, admin_allowed_user_path(u.id) %></td>
            <td><%= u.description %></td>
          </tr>
      <% end %>
      </tbody>
    </table>
    <% end %>
<% end %>
<% if can? :create, Kaui::AdminTenant %>
<h3><%= link_to 'Add a new Allowed User', new_admin_allowed_user_path %></h3>
<% end %>

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
kaui-0.11.0 app/views/kaui/admin_allowed_users/index.html.erb
kaui-0.10.0 app/views/kaui/admin_allowed_users/index.html.erb
kaui-0.9.0 app/views/kaui/admin_allowed_users/index.html.erb
kaui-0.8.4 app/views/kaui/admin_allowed_users/index.html.erb
kaui-0.8.3 app/views/kaui/admin_allowed_users/index.html.erb
kaui-0.8.2 app/views/kaui/admin_allowed_users/index.html.erb
kaui-0.8.1 app/views/kaui/admin_allowed_users/index.html.erb
kaui-0.8.0 app/views/kaui/admin_allowed_users/index.html.erb