1 <div class="depot-form">
3 <% form_for(@user) do |f| %>
4 <%= f.error_messages %>
7 <legend>Update user details</legend>
11 <%= f.text_field :name, :size => 40 %>
15 <%= f.label :user_password, 'Password' %>:
16 <%= f.password_field :password, :size => 40 %>
19 <%= f.label :user_password_confirmation, 'Confirm' %>:
20 <%= f.password_field :password_confirmation, :size => 40 %>
23 <%= f.submit "Update" %>
29 <%= link_to 'Show', @user %> |
30 <%= link_to 'Back', users_path %>