Forgot your password?

<%= form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :post, class: 'form-horizontal' }) do |f| %> <%= devise_error_messages! %>
<%= f.label :login, :class => 'col-md-2 col-md-offset-2 control-label' %>
<%= f.text_field :login, autofocus: true, :class => 'form-control' %>
<%= f.submit "Send me reset password instructions", class: "btn btn-primary" %>
<% end %>
<%= render "devise/shared/links" %>