Sha256: 02c3d1e59b1adc651049a6aec7b4bed55ed0084b4bc4af4026313908e915a82d

Contents?: true

Size: 978 Bytes

Versions: 9

Compression:

Stored size: 978 Bytes

Contents

<%= render 'backend/breadcrumbs' %>
<%= render 'filter' %>

<p class="text-xs-right">
  <%= link_to icon(:plus, t('b.add')), new_backend_user_path, class: 'btn btn-primary btn-sm' %>
</p>

<% if @users.any? %>
  <table class="table table-hover table-striped">
    <thead class="thead-inverse">
      <tr>
        <th><%= t 'b.name' %></th>
        <th><%= t 'b.email' %></th>
        <th><%= t 'b.active' %></th>
        <th>&nbsp;</th>
      </tr>
    </thead>

    <tbody>
      <% @users.each do |u| %>
        <tr class="<%= 'text-muted' unless u.active? %>">
          <td><%= u.full_name %></td>
          <td><%= mail_to u.email %></td>
          <td><%= t u.active?.to_s %></td>
          <td class="text-xs-right">
            <%= link_to_edit [:backend, u] %>
            <%= link_to_delete [:backend, u] %>
          </td>
        </tr>
      <% end %>
    </tbody>
  </table>

  <%= udongo_paginate @users %>

<% else %>
  <p><%= t 'b.msg.no_items' %></p>
<% end %>

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
udongo-5.9.0 app/views/backend/users/index.html.erb
udongo-5.8.0 app/views/backend/users/index.html.erb
udongo-5.7.0 app/views/backend/users/index.html.erb
udongo-5.6.0 app/views/backend/users/index.html.erb
udongo-5.5.0 app/views/backend/users/index.html.erb
udongo-5.4.0 app/views/backend/users/index.html.erb
udongo-5.3.1 app/views/backend/users/index.html.erb
udongo-5.3.0 app/views/backend/users/index.html.erb
udongo-5.2.0 app/views/backend/users/index.html.erb