<%= text_field_tag :search, params[:search] %> <%= submit_tag "Search", :name => nil %>
<% end %>Country | Username | Real name | Steam ID | Age | <% if cuser and cuser.admin? %>Options | <% end %>
---|---|---|---|---|---|
<%= flag user.country %> | <%= link_to (h user.username), user %> | <%= h user.firstname %> <%=h user.lastname %> | <%= h user.steamid %> | <%= user.age %> | <% if cuser and cuser.admin? %><%= link_to 'Edit', edit_user_path(user) %> <%= link_to 'Delete', user, :confirm => "Proceed to delete?", :method => :delete %> | <% end %>
<%= will_paginate @users %>