Sha256: 7b5d0ec059c85fb06e6ce008de57ed901495fa6a169dab3a06dcebb81627ab80
Contents?: true
Size: 1023 Bytes
Versions: 23
Compression:
Stored size: 1023 Bytes
Contents
<h2><%= t('txt.views.users.index.header') %></h2> <table class="management"> <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> <% @users.each do |user| %> <tr> <td><%=h user.name %></td> <td><%=h user.email %></td> <td><%=h user.telephone_number %></td> <td><%=h user.role.humanize %></td> <td><%=h user.active? ? 1 : 0 %></td> <td><%= link_to t('txt.views.users.edit_link'), edit_user_path(:id => user), :class => "button" %></td> <td><%= button_to t('txt.views.users.destroy_link'), user_path(:id => user), :confirm => t('txt.views.users.sure'), :method => :delete %></td> </tr> <% end %> </table> <%= content_for :sub_navigation do %> <ul> <li><%= link_to t('txt.views.users.new_link'), new_user_path, :class => "button" %></li> </ul> <% end %>
Version data entries
23 entries across 23 versions & 1 rubygems