7 lines
336 B
Plaintext

<%= tabular_form_for resource, url: user_confirmation_path, html: { method: :post } do |f| %>
<%= f.email_field :email, required: true, size: 30, autofocus: true, autocomplete: "email",
value: (resource.pending_reconfirmation? ? resource.unconfirmed_email : resource.email) %>
<%= f.submit t(:resend_confirmation) %>
<% end %>