You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
docuseal/app/views/devise/confirmations/new.html.erb

15 lines
779 B

<div class="max-w-xl mx-auto px-2">
<h1 class="text-4xl font-bold text-center my-8">Resend confirmation instructions</h1>
<%= form_for(resource, as: resource_name, url: confirmation_path(resource_name), html: { method: :post, class: 'space-y-6' }) do |f| %>
<%= render "devise/shared/error_messages", resource: resource %>
<div class="form-control">
<%= f.label :email, class: 'label' %>
<%= f.email_field :email, autofocus: true, autocomplete: "email", value: (resource.pending_reconfirmation? ? resource.unconfirmed_email : resource.email), class: 'base-input' %>
</div>
<div class="form-control">
<%= f.submit "Resend confirmation instructions", class: 'base-button' %>
</div>
<% end %>
<%= render "devise/shared/links" %>
</div>