2019-08-19 13:52:26 +02:00
|
|
|
<%= form_for(resource, as: resource_name, url: unlock_path(resource_name), html: { method: :post }) do |f| %>
|
2022-06-05 11:40:43 +02:00
|
|
|
<h2><%= t('common.forms.auth.resend_unlock_instructions') %></h2>
|
|
|
|
|
|
2019-08-19 13:52:26 +02:00
|
|
|
<%= render "devise/shared/error_messages", resource: resource %>
|
|
|
|
|
|
|
|
|
|
<div class="field">
|
2022-06-05 11:40:43 +02:00
|
|
|
<%= f.label :email, class: "sr-only" %><br />
|
|
|
|
|
<%= f.email_field :email,
|
|
|
|
|
autofocus: true,
|
|
|
|
|
autocomplete: "email"
|
|
|
|
|
placeholder: t('common.forms.auth.email') %>
|
2019-08-19 13:52:26 +02:00
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="actions">
|
2022-06-05 11:40:43 +02:00
|
|
|
<%= f.submit t('common.forms.auth.resend_unlock_instructions'), class: "btn btn-dark btn-block" %>
|
2019-08-19 13:52:26 +02:00
|
|
|
</div>
|
|
|
|
|
<% end %>
|
|
|
|
|
|
|
|
|
|
<%= render "devise/shared/links" %>
|