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