<%= form_for(@user) do |f| %> <% if @user.errors.any? %>

<%= pluralize(@user.errors.count, "error") %> prohibited this user from being saved:

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