Signup

<%= form_for(@user, :url => { :controller => 'users', :action => "signup"}) do |f| %> <% if @user.errors.any? %>

<%= pluralize(@user.errors.count, "error") %> prohibited you from registering:

<% end %>
<%= f.label :login %>
<%= f.text_field :login %>
<%= f.label :password %>
<%= f.password_field :password %>
<%= f.label :password_confirmation %>
<%= f.password_field :password_confirmation %>
<%= f.label :email %>
<%= f.text_field :email %>
<%= f.submit %>
<% end %>