= form_for resource, :as => resource_name, :url => password_path(resource_name), :html => {:id => "edit_form", :class => "form-stacked", :method => :put} do |f| %h2 = t("titles.edit_profile") = f.hidden_field "reset_password_token" = f.label "password", t("labels.password_new"), :id => "user_password_label" = f.password_field "password" = f.submit t("buttons.change_password"), :class => "btn"