Sha256: 74c82384fafec5973bec6a8b5598d96b9a90c1395f7f5da8596bdcc74b749c21
Contents?: true
Size: 1.02 KB
Versions: 5
Compression:
Stored size: 1.02 KB
Contents
<h1><%= t('titles.users.list') %></h1> <table class="table table-striped table-bordered table-hover"> <thead> <tr> <th><%= t('attributes.user.id') %></th> <th class="name"><%= t('attributes.user.name') %></th> <th><%= t('attributes.user.tax_id') %></th> <th class="hidden-phone"><%= t('attributes.user.email') %></th> <th></th> </tr> </thead> <tbody> <% @users.each do |user| %> <tr> <td> <span><%= user.id %></span> </td> <td class="name"> <span><%= user.name %></span> </td> <td> <span><%= user.tax_id %></span> </td> <td class="hidden-phone"> <span><%= user.email %></span> </td> <td> <span><%= link_to t('links.delete_item'), user_path(user), method: :delete %></span> </td> </tr> <% end %> </tbody> </table> <% if @users.size == 0 %> <div class="no-data"> <%= t('invoice_bar.no_data') %> </div> <% end %> <%= paginate @users %>
Version data entries
5 entries across 5 versions & 1 rubygems