eaefc605da1247b75c26564680c1e286bb2c159e
[depot.git] / new.html.erb
1 <div class="depot-form">
2
3 <% form_for(@user) do |f| %>
4 <%= f.error_messages %>
5
6 <fieldset>
7 <legend>Enter user details</legend>
8
9 <div>
10 <%= f.label :name %>:
11 <%= f.text_field :name, :size => 40 %>
12 </div>
13
14 <div>
15 <%= f.label :user_password, 'Password' %>:
16 <%= f.password_field :password, :size => 40 %>
17 </div>
18 <div>
19 <%= f.label :user_password_confirmation, 'Confirm' %>:
20 <%= f.password_field :password_confirmation, :size => 40 %>
21 </div>
22 <div>
23 <%= f.submit "Create" %>
24 </div>
25
26 </fieldset>
27 <% end %>
28
29 <%= link_to 'Back', users_path %>
30 </div>