Guest User

Untitled

a guest
May 24th, 2018
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. <% form_for( :user, :url => user_change_password_path( @user.account_id ), :html => { :method => :put }) do |f| %>
  2.  
  3. <label>Current Password:</label> <%= password_field_tag "old_password" %><br />
  4. <label>New Password:</label> <%= password_field_tag "password" %><br />
  5. <label>Repeat New Password:</label> <%= password_field_tag "password_confirmation" %><br />
  6. <%= submit_tag "Change Password"%>
  7. <% end %>
Add Comment
Please, Sign In to add comment