Sha256: a5dd6b683fcc845d326b007919261cfa32ef93e778c1338e208ba53ce33d433f
Contents?: true
Size: 995 Bytes
Versions: 29
Compression:
Stored size: 995 Bytes
Contents
<div class="search"> <div class="column-block"> <h1>Kaui users <% if can? :create, Kaui::AdminTenant %> <%= link_to ' <i class="fa fa-plus-square"></i>'.html_safe, new_admin_allowed_user_path %> <% end %></h1> <% unless @allowed_users.empty? %> <table id="allowed-users-table" class="table table-condensed table-striped mobile-data"> <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 %> </div> </div> <%= javascript_tag do %> $(document).ready(function() { $('#allowed-users-table').dataTable({ "dom": "t", "paging": false }); }); <% end %>
Version data entries
29 entries across 29 versions & 1 rubygems