public
Description: The open source social networking platform in Ruby on Rails from the author of RailsSpace
Homepage: http://insoshi.com
Clone URL: git://github.com/insoshi/insoshi.git
Michael Hartl (author)
Wed Feb 20 18:42:09 -0800 2008
commit  841b5ea6431a060f343804e6960ed67523a10659
tree    c6fc4c678de4669ee20e903dc7750d8f82a21660
parent  004d0985c85408b8acc9c776334437af3b8df2f8
insoshi / app / views / people / new.html.erb
100644 24 lines (21 sloc) 0.701 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<%= error_messages_for :person %>
 
<% form_for :person, :url => people_path do |f| -%>
<div class="form_row">
  <label for="email">Email address (never made public)</label>
  <br />
  <%= f.text_field :email, :maxlength => Person::MAX_EMAIL %>
  <%= set_focus_to_id "person_email" %>
</div>
 
<div class="form_row">
  <label for="password">Password</label>
  <br />
  <%= f.password_field :password, :maxlength => Person::MAX_PASSWORD %>
</div>
 
<div class="form_row">
  <label for="password_confirmation">Confirm Password</label>
  <br />
  <%= f.password_field :password_confirmation,
                       :maxlength => Person::MAX_PASSWORD,
                       :value => "" %>
</div>
<% end %>