21
1
Fork 0
mirror of https://github.com/Evolix/chexpire.git synced 2024-05-22 02:08:49 +02:00
chexpire/app/views/devise/unlocks/new.html.erb

14 lines
562 B
Plaintext
Raw Normal View History

<% # 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_unlock_instructions') %></h2>
<%= simple_form_for(resource, as: resource_name, url: unlock_path(resource_name), html: { method: :post }) do |f| %>
<%= f.input :email, autofocus: true, autocomplete: "email" %>
<%= f.button :submit, t('.resend_unlock_instructions'), class: "btn-primary" %>
<% end %>
<%= render "devise/shared/links" %>
<% end %>