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.
32 lines
914 B
32 lines
914 B
<% content_for :title, "Resend invitation link" %> |
|
|
|
<% content_for :before_content do %> |
|
<%= govuk_back_link( |
|
text: "Back", |
|
href: :back, |
|
) %> |
|
<% end %> |
|
|
|
<%= form_for(resource, as: resource_name, url: confirmation_path(resource_name), html: { method: :post }) do |f| %> |
|
<div class="govuk-grid-row"> |
|
<div class="govuk-grid-column-two-thirds"> |
|
<%= f.govuk_error_summary %> |
|
|
|
<h1 class="govuk-heading-l"> |
|
<%= content_for(:title) %> |
|
</h1> |
|
|
|
<p class="govuk-body">Enter your email address to get a new invitation link.</p> |
|
|
|
<%= f.govuk_email_field :email, |
|
label: { text: "Email address" }, |
|
autocomplete: "email", |
|
spellcheck: "false", |
|
value: (resource.pending_reconfirmation? ? resource.unconfirmed_email : resource.email) %> |
|
|
|
<%= f.govuk_submit "Send email" %> |
|
</div> |
|
</div> |
|
<% end %> |
|
|
|
<%= render "devise/shared/links" %>
|
|
|