mirror of
https://github.com/astuto/astuto.git
synced 2025-12-15 11:17:49 +01:00
23 lines
810 B
Plaintext
23 lines
810 B
Plaintext
<%= form_for(resource, as: resource_name, url: confirmation_path(resource_name), html: { method: :post }) do |f| %>
|
|
<h2><%= t('common.forms.auth.resend_confirmation_instructions') %></h2>
|
|
|
|
<%= render "devise/shared/error_messages", resource: resource %>
|
|
|
|
<div class="form-group">
|
|
<%= f.label :email, class: "sr-only" %>
|
|
<%= f.email_field :email,
|
|
autofocus: true,
|
|
autocomplete: "email",
|
|
placeholder: t('common.forms.auth.email'),
|
|
required: true,
|
|
value: (resource.pending_reconfirmation? ? resource.unconfirmed_email : resource.email),
|
|
class: "form-control" %>
|
|
</div>
|
|
|
|
<div class="actions">
|
|
<%= f.submit t('common.forms.auth.resend_confirmation_instructions'), class: "btn btn-dark btn-block" %>
|
|
</div>
|
|
<% end %>
|
|
|
|
<%= render "devise/shared/links" %>
|