Sha256: 073d06ca1b9a060544a7683fab1a51b3bd48212e2a2ba101995617fd5c3840ee

Contents?: true

Size: 597 Bytes

Versions: 1

Compression:

Stored size: 597 Bytes

Contents

<h2 class='pull-left'>Users</h2>

<%= render 'admin/shared/nav' %>

<hr>

<div class="panel panel-primary">
  <div class="panel-heading">
    All Users
  </div>
  <table class="table">
    <thead>
      <th>ID</th>
      <th>Email</th>
      <th>Signed Up</th>
      <th>Admin?</th>
    </thead>
    <tbody>
      <%- @users.ordered.each do |user| %>
        <tr>
          <td><%= user.id %></td>
          <td><%= user.email %></td>
          <td><%= user.created_at.strftime("%d %b. %Y") %></td>
          <td><%= user.admin? %></td>
        </tr>
      <% end %>
    </tbody>
  </table>
</div>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
samurai_core-1.0.0 app/views/samurai/admin/users/index.html.erb