">
<%= link_to user.login, controller: :users, :action => 'profile', :id => user %> |
<% for column in User.content_columns %>
<% if !@hidden_columns.index(column.name) and column.name != 'login' %>
<%=h user.send(column.name) %> |
<% end %>
<% end %>
<%= link_to 'Clear IP', {:action => 'clear_last_ip', :id => user, :page=>params[:page]}, :confirm => 'This will reset last logging in ip of the user, are you sure?' %> |
<%= link_to 'Show', :action => 'show', :id => user %> |
<%= link_to 'Edit', :action => 'edit', :id => user %> |
<%= link_to 'Destroy', { :action => 'destroy', :id => user }, :confirm => 'Are you sure?', :method => :post %> |
<% end %>