]> projects.mako.cc - selectricity/blob - app/views/account/signup.rhtml
Created a partial to DRY the aja voting method. Modified the voter class to
[selectricity] / app / views / account / signup.rhtml
1 <%= error_messages_for :user %>
2 <% form_for :user do |f| -%>
3
4 <p><label for="login">Login</label><br/>
5 <%= f.text_field :login %></p>
6
7 <p><label for="email">Email</label><br/>
8 <%= f.text_field :email %><br />
9 People participating in elections you're administrating will contact you 
10 at this address.</p>
11
12 <p><label for="password">Password</label><br/>
13 <%= f.password_field :password %></p>
14
15 <p><label for="password_confirmation">Confirm Password</label><br/>
16 <%= f.password_field :password_confirmation %></p>
17
18 <p><%= submit_tag 'Sign up' %></p>
19 <% end -%>

Benjamin Mako Hill || Want to submit a patch?