<%= form_for(resource, :as => resource_name, :url => password_path(resource_name), :html => { :method => :post }) do |f| %> <%= devise_error_messages! %>
<%= f.label :email, class: "control-label" %> <%= f.email_field :email, autofocus: true, class: 'text-field form-control' %>

<%= t('.same_email') %>

<%= f.submit t('.send_me_reset_password_instructions', :default => "Send me reset password instructions"), class: 'btn btn-warning' %> <%= render "devise/shared/links" %>
<% end %>