better user listing
This commit is contained in:
@@ -1,9 +1,11 @@
|
||||
<% if params[:role] %>
|
||||
<h1><%= title "All '#{params[:role]}' Users" %></h1>
|
||||
<h1><%= title "All '#{params[:role]}' role users" %></h1>
|
||||
<%= link_to "show all", users_path %>
|
||||
<% else %>
|
||||
<h1><%= title "All Users" %></h1>
|
||||
<% end %>
|
||||
<p>User count: <%= @users.length %></p>
|
||||
|
||||
<div id="userlist">
|
||||
<% @users.each do |u| %>
|
||||
<div class="list-user">
|
||||
|
||||
Reference in New Issue
Block a user