-
Notifications
You must be signed in to change notification settings - Fork 7
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 #1418 from govuk-one-login/AUT-1339/new-identity-p…
…roving-forms AUT 1339: New "A problem proving your identity" section of contact forms
- Loading branch information
Showing
17 changed files
with
759 additions
and
170 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
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
57 changes: 57 additions & 0 deletions
57
src/components/contact-us/further-information/_proving-identity-further-information.njk
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,57 @@ | ||
<h1 class="govuk-heading-l govuk-!-margin-top-0 govuk-!-margin-bottom-3"> | ||
{{ 'pages.contactUsFurtherInformation.provingIdentity.header' | translate }} | ||
</h1> | ||
|
||
<form action="/contact-us-further-information" method="post" novalidate> | ||
|
||
<input type="hidden" name="_csrf" value="{{csrfToken}}"/> | ||
<input type="hidden" name="theme" value="{{theme}}"/> | ||
<input type="hidden" name="referer" value="{{referer}}"/> | ||
<input type="hidden" name="fromURL" value="{{fromURL}}"/> | ||
|
||
{% include 'contact-us/questions/_id-check-app-hidden-fields.njk' %} | ||
|
||
{{ govukRadios({ | ||
name: "subtheme", | ||
fieldset: { | ||
legend: { | ||
text: 'pages.contactUsFurtherInformation.provingIdentity.section1.header' | translate, | ||
isPageHeading: false, | ||
classes: "govuk-fieldset__legend--m" | ||
} | ||
}, | ||
items: [ | ||
{ | ||
value: "proving_identity_problem_answering_security_questions", | ||
text: 'pages.contactUsFurtherInformation.provingIdentity.section1.radio1' | translate | ||
}, | ||
{ | ||
value: "proving_identity_problem_with_identity_document", | ||
text: 'pages.contactUsFurtherInformation.provingIdentity.section1.radio2' | translate | ||
}, | ||
{ | ||
value: "proving_identity_need_to_update_personal_information", | ||
text: 'pages.contactUsFurtherInformation.provingIdentity.section1.radio3' | translate | ||
}, | ||
{ | ||
value: "proving_identity_technical_problem", | ||
text: 'pages.contactUsFurtherInformation.provingIdentity.section1.radio4' | translate | ||
}, | ||
{ | ||
value: "proving_identity_something_else", | ||
text: 'pages.contactUsFurtherInformation.provingIdentity.section1.radio5' | translate | ||
} | ||
], | ||
errorMessage: { | ||
text: errors['subtheme'].text | ||
} if (errors['subtheme']) | ||
}) }} | ||
|
||
|
||
{{ govukButton({ | ||
"text": "general.continue.label" | translate, | ||
"type": "Submit", | ||
"preventDoubleClick": true | ||
}) }} | ||
|
||
</form> |
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
78 changes: 78 additions & 0 deletions
78
...components/contact-us/questions/_proving-identity-need-to-update-personal-information.njk
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,78 @@ | ||
<h1 class="govuk-heading-l govuk-!-margin-top-0 govuk-!-margin-bottom-3"> | ||
{{ 'pages.contactUsQuestions.provingIdentityNeedToUpdatePersonalInformation.header' | translate }} | ||
</h1> | ||
|
||
<form action="{{formSubmissionUrl}}" method="post" novalidate> | ||
|
||
<input type="hidden" name="_csrf" value="{{csrfToken}}"/> | ||
<input type="hidden" name="theme" value="{{theme}}"/> | ||
<input type="hidden" name="subtheme" value="{{subtheme}}"/> | ||
<input type="hidden" name="backurl" value="{{backurl}}"/> | ||
<input type="hidden" name="fromURL" value="{{fromURL}}"/> | ||
<input type="hidden" name="formType" value="provingIdentityNeedToUpdatePersonalInformation"/> | ||
<input type="hidden" name="referer" value="{{referer}}"/> | ||
{% include 'contact-us/questions/_id-check-app-hidden-fields.njk' %} | ||
|
||
{{ govukCharacterCount({ | ||
label: { | ||
text: 'pages.contactUsQuestions.provingIdentityNeedToUpdatePersonalInformation.section1.label' | translate, | ||
classes: "govuk-label--s" | ||
}, | ||
id: "issueDescription", | ||
name: "issueDescription", | ||
maxlength: contactUsFieldMaxLength, | ||
value: issueDescription, | ||
charactersAtLimitText: 'pages.contactUsQuestions.characterCountComponent.charactersAtLimitText' | translate, | ||
charactersUnderLimitText: { | ||
other: 'pages.contactUsQuestions.characterCountComponent.charactersUnderLimitText.other' | translate, | ||
one: 'pages.contactUsQuestions.characterCountComponent.charactersUnderLimitText.one' | translate | ||
}, | ||
charactersOverLimitText: { | ||
other: 'pages.contactUsQuestions.characterCountComponent.charactersOverLimitText.other' | translate, | ||
one: 'pages.contactUsQuestions.characterCountComponent.charactersOverLimitText.one' | translate | ||
}, | ||
errorMessage: { | ||
text: errors['issueDescription'].text | translate | replace('[maximumCharacters]', contactUsFieldMaxLength.toLocaleString()) | ||
} if (errors['issueDescription']) | ||
}) }} | ||
|
||
{{ govukCharacterCount({ | ||
label: { | ||
text: 'pages.contactUsQuestions.provingIdentityNeedToUpdatePersonalInformation.section2.label' | translate, | ||
classes: "govuk-label--s" | ||
}, | ||
|
||
id: "additionalDescription", | ||
name: "additionalDescription", | ||
maxlength: contactUsFieldMaxLength, | ||
value: additionalDescription, | ||
charactersAtLimitText: 'pages.contactUsQuestions.characterCountComponent.charactersAtLimitText' | translate, | ||
charactersUnderLimitText: { | ||
other: 'pages.contactUsQuestions.characterCountComponent.charactersUnderLimitText.other' | translate, | ||
one: 'pages.contactUsQuestions.characterCountComponent.charactersUnderLimitText.one' | translate | ||
}, | ||
charactersOverLimitText: { | ||
other: 'pages.contactUsQuestions.characterCountComponent.charactersOverLimitText.other' | translate, | ||
one: 'pages.contactUsQuestions.characterCountComponent.charactersOverLimitText.one' | translate | ||
}, | ||
errorMessage: { | ||
text: errors['additionalDescription'].text | translate | replace('[maximumCharacters]', contactUsFieldMaxLength.toLocaleString()) | ||
} if (errors['additionalDescription']) | ||
}) }} | ||
|
||
{% include 'contact-us/questions/_service-trying-to-use.njk' %} | ||
|
||
{{ govukWarningText({ | ||
text:'pages.contactUsQuestions.personalInformation.paragraph1' | translate, | ||
iconFallbackText: "Warning" | ||
}) }} | ||
|
||
{% include 'contact-us/questions/_reply_by_email.njk' %} | ||
|
||
{{ govukButton({ | ||
"text": "general.sendMessage" | translate, | ||
"type": "Submit", | ||
"preventDoubleClick": true | ||
}) }} | ||
|
||
</form> |
Oops, something went wrong.