21
1
Fork 0
mirror of https://github.com/Evolix/chexpire.git synced 2024-05-01 16:30:49 +02:00
chexpire/app/views/devise/confirmations/new.html.erb
2018-08-02 00:29:53 +02:00

15 lines
675 B
Plaintext

<% # Copyright (C) 2018 Colin Darie <colin@darie.eu>, 2018 Evolix <info@evolix.fr> %>
<% # License: GNU AGPL-3+ (see full text in LICENSE file) %>
<%= devise_form_container do %>
<h2><%= t('.resend_confirmation_instructions') %></h2>
<%= simple_form_for(resource, as: resource_name, url: confirmation_path(resource_name), html: { method: :post }) do |f| %>
<%= f.input :email, autofocus: true, autocomplete: "email",
label: (resource.pending_reconfirmation? ? resource.unconfirmed_email : resource.email) %>
<%= f.button :submit, t('.resend_confirmation_instructions'), class: "btn-primary" %>
<% end %>
<%= render "devise/shared/links" %>
<% end %>