1 <%= error_messages_for :user %>
2 <% form_for :user do |f| -%>
3 <p><label for="login">Login</label><br/>
4 <%= f.text_field :login %></p>
6 <p><label for="email">Email</label><br/>
7 <%= f.text_field :email %></p>
9 <p><label for="password">Password</label><br/>
10 <%= f.password_field :password %></p>
12 <p><label for="password_confirmation">Confirm Password</label><br/>
13 <%= f.password_field :password_confirmation %></p>
15 <p><%= submit_tag 'Sign up' %></p>