%= error_messages_for :user %> <% form_for :user do |f| -%>
Login <%= f.text_field :login %>
Email <%= f.text_field :email %>
Password <%= f.password_field :password %>
Confirm Password <%= f.password_field :password_confirmation %>
<%= submit_tag 'Sign up' %>