Sha256: e7150c73b3e5b5ad2992bfd3cf37392a0badf4a65fb46eb4e33f1b743c26ff73

Contents?: true

Size: 693 Bytes

Versions: 4

Compression:

Stored size: 693 Bytes

Contents

<%= render :partial => 'left' %>
<h1 class="users icon">Users</h1>
<table class="grid">
  <thead>
    <tr>
      <th>Name</th>
      <th colspan="2">Email</th>
    </tr>
  </thead>
  <tbody>
    <% @users.each do |user| -%>
    <tr class="row <%= cycle 'one', 'two' %>">
      <td><%= link_to user.name, admin_user_path(user) %></td>
      <td><%= user.email %></td>
      <td class="actions">
        <%= button_link_to 'Edit', edit_admin_user_path(user), :class => 'remote', :icon => :edit %>
        <%= button_link_to 'Delete', delete_admin_user_path(user), :class => 'remote', :icon => :delete unless user.id == current_user.id %>
      </td>
    </tr>
    <% end -%>
  </tbody>
</table>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
grandstand-0.2.4 app/views/admin/users/index.html.erb
grandstand-0.2.3 app/views/admin/users/index.html.erb
grandstand-0.2.2 app/views/admin/users/index.html.erb
grandstand-0.2.1 app/views/admin/users/index.html.erb