<%= form_for(resource, :as => resource_name, :url => password_path(resource_name), :html => { :method => :put, :class => 'form-horizontal' }) do |f| %>
<%= f.hidden_field :reset_password_token %>
<%= render :partial => "devise/shared/links" %>
<% end %>