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

Version Path
iqvoc-3.2.11 app/views/users/index.html.erb
iqvoc-3.2.10 app/views/users/index.html.erb
iqvoc-3.2.9 app/views/users/index.html.erb
iqvoc-3.2.8 app/views/users/index.html.erb
iqvoc-3.5.7 app/views/users/index.html.erb
iqvoc-3.5.6 app/views/users/index.html.erb
iqvoc-3.5.5 app/views/users/index.html.erb
iqvoc-3.5.4 app/views/users/index.html.erb
iqvoc-3.2.7 app/views/users/index.html.erb
iqvoc-3.5.3 app/views/users/index.html.erb
iqvoc-3.5.2 app/views/users/index.html.erb
iqvoc-3.5.1 app/views/users/index.html.erb
iqvoc-3.5.0 app/views/users/index.html.erb
iqvoc-3.4.0 app/views/users/index.html.erb
iqvoc-3.3.4 app/views/users/index.html.erb
iqvoc-3.3.3 app/views/users/index.html.erb
iqvoc-3.3.2 app/views/users/index.html.erb
iqvoc-3.3.1 app/views/users/index.html.erb
iqvoc-3.3.0 app/views/users/index.html.erb
iqvoc-3.2.6 app/views/users/index.html.erb