metamaps--metamaps/app/views/users/passwords/new.html.erb
2013-07-10 14:02:38 -04:00

17 lines
449 B
Text

<%= form_for(resource, :as => resource_name, :url => password_path(resource_name), :html => { :method => :post }) do |f| %>
<%= devise_error_messages! %>
<h3>Forgot your password?</h3>
<div><%= f.label :email %>
<%= f.email_field :email, :autofocus => true %></div>
<div><%= f.submit "Send me reset password instructions" %></div>
<%= link_to "Sign up", new_user_path %><br />
<%= render "devise/shared/links" %>
<% end %>