1
<div id="getting-started">
2
<h1>Create Account</h1>
3
<%= display_flash_messages %>
4
<% form_for @user, :url => { :controller => :users, :action => :create }, :html => { :method => :post } do |f| %>
6
<%= f.label :email, "Email:" %><br />
7
<%= f.text_field :email, :size => 40 %>
8
<%= display_error_messages(@user, :email) %>
11
<%= f.label :password, "Password:" %><br />
12
<%= f.password_field :password, :size => 40 %>
13
<%= display_error_messages(@user, :password) %>
16
<%= f.label :password_confirmation, "Password Confirmation:" %><br />
17
<%= f.password_field :password_confirmation, :size => 40 %>
18
<%= display_error_messages(@user, :password_confirmation) %>
21
<%= submit_tag "Create" %>
25
<br />Don't have an account? <%= link_to "Create one.", :action => :create %>
26
<br /><br />Want to <%= link_to "log out", :action => :logout %>?