CMSgov/dpc-app

View on GitHub
dpc-web/app/views/devise/mailer/reset_password_instructions.html.erb

Summary

Maintainability
Test Coverage
<h1>Hi <%= @user.first_name %> <%= @user.last_name %>,</h1>

<p>We received your request to reset your password. Simply click “Reset Password”&nbsp;below to create a new password at <a href="https://dpc.cms.gov/" rel="noopener noreferrer" target="_blank">dpc.cms.gov</a>. For security reasons, this link will be valid for 6 hours and can only be used once.</p>

<p>Thank you from the DPC team!</p>

<div style="text-align: center;">
  <%= link_to 'Change password', edit_password_url(@resource, reset_password_token: @token), style: 'display: block; border-radius: 4px; background-color: #0071BC; color: #ffffff; display: inline-block; margin: 40px auto; font-size: 16px; text-decoration: none; padding: 18px; text-align: center; font-weight: bold;', target: '_blank' %>
</div>

<p>If you didn't request this, please ignore this email.</p>

<p>Your password won't change until you access the link above and create a new one.</p>

<p><em>Password reset request sent at: <%= @resource.reset_password_sent_at %>.</em></p>