= form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :put, class: "login-box" }) do |f| %h3 Change your password = devise_error_messages! = f.hidden_field :reset_password_token %div = f.password_field :password, class: "text top", placeholder: "New password" %div = f.password_field :password_confirmation, class: "text bottom", placeholder: "Confirm new password" %div .clearfix.append-bottom-10 = f.submit "Change my password", class: "btn btn-primary" = link_to "Sign in", new_session_path(resource_name), class: "btn pull-right" %div = link_to "Didn't receive confirmation instructions?", new_confirmation_path(resource_name)