| 1 | <h2>Resend confirmation instructions</h2> |
| 2 | |
| 3 | <%= form_for(resource, as: resource_name, url: confirmation_path(resource_name), html: { method: :post }) do |f| %> |
| 4 | <%= render "devise/shared/error_messages", resource: resource %> |
| 5 | |
| 6 | <div class="field"> |
| 7 | <%= f.label :email %><br /> |
| 8 | <%= f.email_field :email, autofocus: true, autocomplete: "email", value: (resource.pending_reconfirmation? ? resource.unconfirmed_email : resource.email) %> |
| 9 | </div> |
| 10 | |
| 11 | <div class="actions"> |
| 12 | <%= f.submit "Resend confirmation instructions" %> |
| 13 | </div> |
| 14 | <% end %> |
| 15 | |
| 16 | <%= render "devise/shared/links" %> |