<%= form_for(resource, :as => resource_name, :url => password_path(resource_name), :html => { :method => :post }) do |f| %>
Forgot your password? <%= devise_error_messages! %>
<%= f.label :email, :class => 'control-label' %>
<%= f.email_field :email, :class => 'email_field' %>
<%= f.submit 'Send me reset password instructions', :class => 'btn btn-primary' %> <%= render "links" %>
<% end %>