%= error_messages_for :user %> <% form_for :user, :url => users_path do |f| -%>
<%= f.text_field :login %>
<%= f.text_field :email %>
<%= f.password_field :password %>
<%= f.password_field :password_confirmation %>
<%= submit_tag 'Sign up' %>
<% end -%>