2012-02-22 06:43:24 +00:00
|
|
|
|
2012-11-30 07:17:29 +00:00
|
|
|
<%= form_for(resource, :as => resource_name, :url => users_passwd_path(resource_name), :html => { :method => :put, "form-type"=>"ajax_form" }) do |f| %>
|
|
|
|
<div><%= f.submit "Update" %></div>
|
2012-02-22 06:43:24 +00:00
|
|
|
|
2012-11-30 08:32:06 +00:00
|
|
|
<div><%= f.label :current_password %>
|
|
|
|
<%= f.password_field :current_password %></div>
|
|
|
|
|
2012-11-30 07:17:29 +00:00
|
|
|
<div><%= f.label :password %>
|
2012-02-22 06:43:24 +00:00
|
|
|
<%= f.password_field :password %></div>
|
|
|
|
|
|
|
|
<div><%= f.label :password_confirmation %><br />
|
|
|
|
<%= f.password_field :password_confirmation %></div>
|
|
|
|
|
|
|
|
<% end %>
|