<% content_for :title, "Expired link" %> <div class="govuk-grid-row"> <div class="govuk-grid-column-two-thirds"> <h1 class="govuk-heading-l"> <%= content_for(:title) %> </h1> <%= form_for(resource, as: resource_name, url: confirmation_path(resource_name), html: { method: :post }) do |f| %> <p class="govuk-body">Your join link has expired. Select the button below to get a new one. The link will be valid for 24 hours.</p> <%= f.hidden_field :email, value: (resource.pending_reconfirmation? ? resource.unconfirmed_email : resource.email) %> <%= f.govuk_submit "Get a new link" %> <% end %> </div> </div>