-
Notifications
You must be signed in to change notification settings - Fork 16
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 #3083 from DFE-Digital/fe-trn-page-content
LUPEYALPHA-744 - TRN specific page for FE journey
- Loading branch information
Showing
12 changed files
with
71 additions
and
13 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
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
44 changes: 44 additions & 0 deletions
44
app/views/further_education_payments/claims/teacher_reference_number.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,44 @@ | ||
<% content_for( | ||
:page_title, | ||
page_title( | ||
@form.t("questions.teacher_reference_number"), | ||
journey: current_journey_routing_name, | ||
show_error: @form.errors.any?) | ||
) %> | ||
|
||
<div class="govuk-grid-row"> | ||
<div class="govuk-grid-column-two-thirds"> | ||
<%= form_for @form, url: claim_path(current_journey_routing_name), builder: GOVUKDesignSystemFormBuilder::FormBuilder do |f| %> | ||
<%= f.govuk_error_summary %> | ||
|
||
<h1 class="govuk-heading-l"> | ||
Teacher reference number (TRN) | ||
</h1> | ||
|
||
<p class="govuk-body"> | ||
A TRN is a 7-digit number that uniquely identifies you in the education sector in England. | ||
Most people eligible for a TRN will be given one automatically. | ||
</p> | ||
|
||
<p class="govuk-body"> | ||
If you are unsure what your TRN is, you can: | ||
</p> | ||
|
||
<%= govuk_list [ | ||
"Check your payslip or Teachers’ Pension Scheme Benefit Statement.", | ||
"Use #{govuk_link_to "Find a lost TRN", "https://find-a-lost-trn.education.gov.uk/start", new_tab: true} to check if you have a TRN or find your TRN.".html_safe], | ||
type: :number %> | ||
|
||
<%= f.govuk_text_field :teacher_reference_number, | ||
width: 10, | ||
spellcheck: "false", | ||
autocomplete: "off", | ||
label: { | ||
text: @form.t("questions.teacher_reference_number"), | ||
size: "m" | ||
} %> | ||
|
||
<%= f.govuk_submit "Continue" %> | ||
<% end %> | ||
</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
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
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
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 |
---|---|---|
|
@@ -153,7 +153,7 @@ | |
[I18n.t("forms.address.questions.your_address"), "Flat 1, 1 Test Road, Test Town, AB1 2CD", "address"], | ||
[I18n.t("questions.date_of_birth"), "10 January 1980", "personal-details"], | ||
[I18n.t("forms.gender.questions.payroll_gender"), "Don’t know", "gender"], | ||
[I18n.t("questions.teacher_reference_number"), "1234567", "teacher-reference-number"], | ||
[I18n.t("forms.teacher_reference_number.questions.teacher_reference_number"), "1234567", "teacher-reference-number"], | ||
[I18n.t("questions.national_insurance_number"), "QQ123456C", "personal-details"], | ||
[I18n.t("questions.email_address"), "[email protected]", "email-address"], | ||
[I18n.t("questions.provide_mobile_number"), "Yes", "provide-mobile-number"], | ||
|