Listing users

<%= link_to 'Stat', :action => 'user_stat' %> <%= link_to 'Main', :controller => 'main', :action => 'list' %>
Quick add <% form_tag :action => 'create' do %>
<%= text_field 'user', 'login', :size => 10 %> <%= text_field 'user', 'full_name', :size => 30 %> <%= text_field 'user', 'alias', :size => 10 %> <%= password_field 'user', 'password', :size => 10 %> <%= password_field 'user', 'password_confirmation', :size => 10 %> <%= submit_tag "Create" %>
<% end %>
<% for column in User.content_columns %> <% end %> <% for user in @users %> <% for column in User.content_columns %> <% end %> <% end %>
<%= column.human_name %>
<%=h user.send(column.name) %><%= 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 %>

<%= link_to 'New user', :action => 'new' %>