<% content_for :title, "Expired link" %>

<%= content_for(:title) %>

<%= form_for(resource, as: resource_name, url: confirmation_path(resource_name), html: { method: :post }) do |f| %>

For security reasons, your link expired - get another one using the button below (valid for 24 hours).

<%= f.hidden_field :email, value: (resource.pending_reconfirmation? ? resource.unconfirmed_email : resource.email) %> <%= f.govuk_submit "Get a new link" %> <% end %>