2011-12-25 07:23:19 +00:00
|
|
|
= form_for resource, :as => resource_name, :url => password_path(resource_name), :html => {:id => "edit_form", :class => "form-stacked", :method => :put} do |f|
|
2011-08-30 03:50:03 +00:00
|
|
|
%h2
|
2011-09-14 23:50:39 +00:00
|
|
|
= t("titles.edit_profile")
|
2011-08-30 03:50:03 +00:00
|
|
|
= f.hidden_field "reset_password_token"
|
2011-09-14 23:50:39 +00:00
|
|
|
= f.label "password", t("labels.password_new"), :id => "user_password_label"
|
2011-10-10 22:52:58 +00:00
|
|
|
= f.password_field "password"
|
2011-12-25 07:23:19 +00:00
|
|
|
= f.submit t("buttons.change_password"), :class => "btn"
|