2009-10-11 21:11:58 -04:00
|
|
|
<h2>Resend confirmation instructions</h2>
|
2009-10-07 23:53:04 -04:00
|
|
|
|
2014-02-25 12:25:55 -05:00
|
|
|
<%= form_for(resource, as: resource_name, url: confirmation_path(resource_name), html: { method: :post }) do |f| %>
|
2010-04-13 17:28:13 -04:00
|
|
|
<%= devise_error_messages! %>
|
2009-10-07 23:53:04 -04:00
|
|
|
|
2014-10-22 12:44:01 -04:00
|
|
|
<div class="field">
|
2014-10-22 04:25:33 -04:00
|
|
|
<%= f.label :email %><br />
|
2015-02-14 04:59:01 -05:00
|
|
|
<%= f.email_field :email, autofocus: true, value: (resource.pending_reconfirmation? ? resource.unconfirmed_email : resource.email) %>
|
2014-10-22 04:25:33 -04:00
|
|
|
</div>
|
2009-10-11 21:11:58 -04:00
|
|
|
|
2014-10-22 04:25:33 -04:00
|
|
|
<div class="actions">
|
|
|
|
<%= f.submit "Resend confirmation instructions" %>
|
|
|
|
</div>
|
2009-10-07 23:53:04 -04:00
|
|
|
<% end %>
|
|
|
|
|
2012-05-20 15:01:11 -04:00
|
|
|
<%= render "devise/shared/links" %>
|