Sha256: 04dc9aba7bcc5c4fe1920dff09b9a4b0bc5eb77fde90067c31a3e9df6918f7c1

Contents?: true

Size: 1.14 KB

Versions: 14

Compression:

Stored size: 1.14 KB

Contents

<%= page_header :title => t('txt.views.users.index.header') %>
<div class="table-responsive">
  <table class="table users-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>
        <th></th>
      </tr>
    </thead>
    <tbody>
      <% @users.each do |user| %>
        <tr class="users-table-row">
          <td><%= user.name %></td>
          <td><%= user.email %></td>
          <td><%= user.telephone_number %></td>
          <td><%= user.role.humanize %></td>
          <td><%= icon(:check) if user.active? %></td>
          <td>
            <%= link_to t('txt.views.users.edit_link'), edit_user_path(:id => user), :class => 'btn btn-default' %>
            <%= 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>
</div>

<%= render 'sidebar' %>

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
iqvoc-4.11.1 app/views/users/index.html.erb
iqvoc-4.11.0 app/views/users/index.html.erb
iqvoc-4.10.0 app/views/users/index.html.erb
iqvoc-4.9.0 app/views/users/index.html.erb
iqvoc-4.8.2 app/views/users/index.html.erb
iqvoc-4.8.1 app/views/users/index.html.erb
iqvoc-4.8.0 app/views/users/index.html.erb
iqvoc-4.7.0 app/views/users/index.html.erb
iqvoc-4.6.1 app/views/users/index.html.erb
iqvoc-4.5.2 app/views/users/index.html.erb
iqvoc-4.6.0 app/views/users/index.html.erb
iqvoc-4.5.1 app/views/users/index.html.erb
iqvoc-4.5.0 app/views/users/index.html.erb
iqvoc-4.4.0 app/views/users/index.html.erb