Sha256: 801aa0786d1ed51b7fdf3bd3cb14c4adf0cf7df55e7aaa8a8f2d97e3d8c5744e
Contents?: true
Size: 1 KB
Versions: 19
Compression:
Stored size: 1 KB
Contents
<%= page_header :title => t('txt.views.users.index.header') %> <table class="table"> <thead> <tr> <th><%= t('txt.views.users.name') %></th> <th><%= t('txt.views.users.email') %></th> <th><%= t('txt.views.users.telephone_number') %></th> <th><%= t('txt.views.users.role') %></th> <th><%= t('txt.views.users.active') %></th> </tr> </thead> <tbody> <% @users.each do |user| %> <tr> <td><%= user.name %></td> <td><%= user.email %></td> <td><%= user.telephone_number %></td> <td><%= user.role.humanize %></td> <td><%= user.active? ? glyph(:yes) : glyph(:no) %></td> <td> <%= link_to t('txt.views.users.edit_link'), edit_user_path(:id => user), :class => "btn" %> <%= link_to t('txt.views.users.destroy_link'), user_path(:id => user), :confirm => t('txt.views.users.sure'), :method => :delete, :class => "btn btn-danger" %> </td> </tr> <% end %> </tbody> </table> <%= render 'sidebar' %>
Version data entries
19 entries across 19 versions & 1 rubygems