-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #10289 from DFE-Digital/cv/one-login-wrong-email-page
Introduce candidate to wrong email address page
- Loading branch information
Showing
7 changed files
with
37 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 23 additions & 0 deletions
23
app/views/errors/wrong_email_address_used_for_candidate.html.erb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<%= content_for :title, t('page_titles.there_is_a_problem') %> | ||
|
||
<div class="govuk-grid-row"> | ||
<div class="govuk-grid-column-two-thirds"> | ||
<h1 class="govuk-heading-l"><%= t('page_titles.there_is_a_problem') %></h1> | ||
<div class="govuk-body"> | ||
<%= t( | ||
'.body_html', | ||
button_link: render( | ||
ButtonToAsLinkComponent.new( | ||
name: t('.sign_in'), | ||
path: OneLogin.bypass? ? '/auth/one-login-developer' : '/auth/one_login', | ||
), | ||
), | ||
) %> | ||
</div> | ||
|
||
<p class="govuk-body"> | ||
If you have any questions, please email us at | ||
<%= govuk_mail_to '[email protected]' %> | ||
</p> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
en: | ||
errors: | ||
wrong_email_address_used_for_candidate: | ||
body_html: You should use the email address you use for GOV.UK One Login to %{button_link}. | ||
sign_in: sign in to Apply for teacher training |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters