~nchohan/appscale/GAE1.4.0-namespaces

« back to all changes in this revision

Viewing changes to AppLoadBalancer/app/views/users/new.html.erb

  • Committer: Chris Bunch
  • Date: 2009-11-16 18:37:46 UTC
  • mto: This revision was merged to the branch mainline in revision 303.
  • Revision ID: chris@magna-carta-20091116183746-1sqxle515itjf6si
added fix for create_user on load balancer

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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| %>
 
5
    <p>
 
6
      <%= f.label :email, "Email:" %><br />
 
7
      <%= f.text_field :email, :size => 40 %>
 
8
      <%= display_error_messages(@user, :email) %>
 
9
    </p>
 
10
    <p>
 
11
      <%= f.label :password, "Password:" %><br />
 
12
      <%= f.password_field :password, :size => 40 %>
 
13
      <%= display_error_messages(@user, :password) %>
 
14
    </p>
 
15
    <p>
 
16
      <%= f.label :password_confirmation, "Password Confirmation:" %><br />
 
17
      <%= f.password_field :password_confirmation, :size => 40 %>
 
18
      <%= display_error_messages(@user, :password_confirmation) %>
 
19
    </p>
 
20
    <p>
 
21
      <%= submit_tag "Create" %>
 
22
    </p>
 
23
  <% end %>
 
24
 
 
25
  <br />Don't have an account? <%= link_to "Create one.", :action => :create %>
 
26
  <br /><br />Want to <%= link_to "log out", :action => :logout %>?
 
27
</div>
 
28