<% content_for :title, "Reset password" -%>

Forgot your password?

<%= form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :post, class: 'form-horizontal' }) do |f| %> <%= render "devise/shared/error_messages", resource: resource %>
<%= 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" %>