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.
27 lines
862 B
27 lines
862 B
<% content_for :before_content do %> |
|
<%= govuk_back_link( |
|
text: 'Back', |
|
href: :back, |
|
) %> |
|
<% end %> |
|
|
|
<%= form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :post }) do |f| %> |
|
<div class="govuk-grid-row"> |
|
<div class="govuk-grid-column-two-thirds"> |
|
<h1 class="govuk-heading-l">Reset password</h1> |
|
<%= render "devise/shared/error_messages", resource: resource %> |
|
|
|
<p class="govuk-body">Enter the email address you used to create your account.</p> |
|
<p class="govuk-body">We’ll email you a link to reset your password. This link will expire in 3 hours.</p> |
|
|
|
<%= f.govuk_email_field :email, |
|
label: { text: "Email address" }, |
|
autocomplete: "email" |
|
%> |
|
|
|
<%= f.govuk_submit "Send email" %> |
|
</div> |
|
</div> |
|
<% end %> |
|
|
|
<%= render "devise/shared/links" %>
|
|
|