Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: 7a1e787679
Fetching contributors…

Cannot retrieve contributors at this time

32 lines (28 sloc) 0.8 kB
<h1>Listing users</h1>
<table class="table">
<tr>
<th>Username</th>
<th>Modhash</th>
<th>Banned</th>
<th>Link</th>
<th>Comment</th>
<th></th>
<th></th>
<th></th>
</tr>
<% @users.each do |user| %>
<tr>
<td><%= user.username %></td>
<td><%= user.modhash %></td>
<td><%= user.active %></td>
<td><%= user.link_karma %></td>
<td><%= user.comment_karma %></td>
<td><%= link_to 'Show', admin_user_path(user) %></td>
<td><%= link_to 'Edit', edit_admin_user_path(user) %></td>
<td><%= link_to 'Destroy', admin_user_path(user), :method => :delete, :data => {:confirm => 'Are you sure?'} %></td>
</tr>
<% end %>
</table>
<div class="pagination-centered">
<%= will_paginate @users %>
</div>
Jump to Line
Something went wrong with that request. Please try again.