-
Notifications
You must be signed in to change notification settings - Fork 166
LG-6349 Consistently use 'Update' language on verify and update pages #6546
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
cbd7df3
6078449
dbc0dc4
abe8f03
708a28e
8cf7121
3039727
86aa542
5a5ec17
330dbca
9abec01
87f7c0c
a50fbf9
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -27,7 +27,7 @@ | |
| input_html: { value: @pii['address2'] } %> | ||
| <div class="margin-bottom-4"> | ||
| <%= f.input :city, label: t('idv.form.city'), required: true, maxlength: 255, wrapper: false, | ||
| input_html: { aria: { invalid: false }, class: 'usa-input', value: @pii['city'] } %> | ||
| input_html: { aria: { invalid: false }, value: @pii['city'] } %> | ||
| <span class='usa-error-message margin-top-1 display-if-invalid display-if-invalid--value-missing margin-bottom-1' role='alert'> | ||
| <%= t('simple_form.required.text') %> | ||
| </span> | ||
|
|
@@ -42,7 +42,7 @@ | |
| label: t('idv.form.zipcode'), required: true, | ||
| pattern: '(\d{5}([\-]\d{4})?)', | ||
| wrapper: false, | ||
| input_html: { aria: { invalid: false }, class: 'usa-input', value: @pii['zipcode'] } %> | ||
| input_html: { aria: { invalid: false }, value: @pii['zipcode'] } %> | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
| <span class='usa-error-message margin-top-1 display-if-invalid display-if-invalid--value-missing margin-bottom-1' role='alert'> | ||
| <%= t('simple_form.required.text') %> | ||
| </span> | ||
|
|
@@ -53,7 +53,7 @@ | |
| </div> | ||
| <div class="margin-top-0"> | ||
| <button type="submit" class="usa-button usa-button--big usa-button--wide margin-top-2"> | ||
| <%= t('forms.buttons.continue') %> | ||
| <%= t('forms.buttons.submit.update') %> | ||
NavaTim marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| </button> | ||
| </div> | ||
| <% end %> | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -4,65 +4,73 @@ locals: | |
| remote_identity_proofing - true if we're doing RIDP, false if we're doing IPP | ||
| step_url - generator for step URLs | ||
| %> | ||
| <% title t('titles.doc_auth.verify_info') %> | ||
| <% title t('titles.idv.verify_info') %> | ||
|
|
||
| <%= render PageHeadingComponent.new.with_content(t('doc_auth.headings.verify')) %> | ||
| <%= render PageHeadingComponent.new.with_content(t('headings.verify')) %> | ||
| <div class='margin-top-4 margin-bottom-2'> | ||
| <div class="grid-row grid-gap grid-gap-2 padding-bottom-1"> | ||
| <div class='grid-col-fill'> | ||
| <dl class="grid-col-fill margin-bottom-0"> | ||
|
||
| <div> | ||
| <%= "#{t('doc_auth.forms.first_name')}: #{pii[:first_name]}" %> | ||
| <dt class="display-inline"> <%= t('idv.form.first_name') %>: </dt> | ||
| <dd class="display-inline margin-left-0"> <%= pii[:first_name] %> </dd> | ||
| </div> | ||
| <div> | ||
| <%= "#{t('doc_auth.forms.last_name')}: #{pii[:last_name]}" %> | ||
| <dt class="display-inline"> <%= t('idv.form.last_name') %>: </dt> | ||
| <dd class="display-inline margin-left-0"> <%= pii[:last_name] %> </dd> | ||
| </div> | ||
| <div> | ||
| <%= "#{t('doc_auth.forms.dob')}: #{pii[:dob]}" %> | ||
| <dt class="display-inline"> <%= t('idv.form.dob') %>: </dt> | ||
| <dd class="display-inline margin-left-0"> <%= pii[:dob] %> </dd> | ||
| </div> | ||
| <% if !remote_identity_proofing %> | ||
| <div> | ||
| <%= "#{t('doc_auth.forms.id_number')}: #{pii[:state_id_number]}" %> | ||
| <dt class="display-inline"> <%= t('idv.form.id_number') %>: </dt> | ||
| <dd class="display-inline margin-left-0"> <%= pii[:state_id_number] %> </dd> | ||
| </div> | ||
| <% end %> | ||
| </div> | ||
| </dl> | ||
| <% if !remote_identity_proofing %> | ||
| <div class='grid-auto'> | ||
| <%= button_to( | ||
| step_url.call(step: :redo_state_id), | ||
| method: :put, | ||
| class: 'usa-button usa-button--unstyled', | ||
| 'aria-label': t('doc_auth.buttons.change_state_id_label'), | ||
| ) { t('doc_auth.buttons.change_label') } %> | ||
| 'aria-label': t('idv.buttons.change_state_id_label'), | ||
| ) { t('idv.buttons.change_label') } %> | ||
| </div> | ||
| <% end %> | ||
| </div> | ||
| <div class="grid-row grid-gap grid-gap-2 padding-bottom-1 padding-top-1 border-y border-primary-light"> | ||
| <div class='grid-col-fill'> | ||
| <dl class='grid-col-fill margin-bottom-0'> | ||
| <div> | ||
| <%= "#{t('doc_auth.forms.address1')}: #{pii[:address1]}" %> | ||
| <dt class="display-inline"> <%= t('idv.form.address1') %>: </dt> | ||
| <dd class="display-inline margin-left-0"> <%= pii[:address1] %> </dd> | ||
| </div> | ||
| <div> | ||
| <%= "#{t('doc_auth.forms.city')}: #{pii[:city]}" %> | ||
| <dt class="display-inline"> <%= t('idv.form.city') %>: </dt> | ||
| <dd class="display-inline margin-left-0"> <%= pii[:city] %> </dd> | ||
| </div> | ||
| <div> | ||
| <%= "#{t('doc_auth.forms.state')}: #{pii[:state]}" %> | ||
| <dt class="display-inline"> <%= t('idv.form.state') %>: </dt> | ||
| <dd class="display-inline margin-left-0"> <%= pii[:state] %> </dd> | ||
| </div> | ||
| <div> | ||
| <%= "#{t('doc_auth.forms.zip_code')}: #{pii[:zipcode]}" %> | ||
| <dt class="display-inline"> <%= t('idv.form.zipcode') %>: </dt> | ||
| <dd class="display-inline margin-left-0"> <%= pii[:zipcode] %> </dd> | ||
| </div> | ||
| </div> | ||
| </dl> | ||
| <div class='grid-auto'> | ||
| <%= button_to( | ||
| step_url.call(step: :redo_address), | ||
| method: :put, | ||
| class: 'usa-button usa-button--unstyled', | ||
| 'aria-label': t('doc_auth.buttons.change_address_label'), | ||
| ) { t('doc_auth.buttons.change_label') } %> | ||
| 'aria-label': t('idv.buttons.change_address_label'), | ||
| ) { t('idv.buttons.change_label') } %> | ||
| </div> | ||
| </div> | ||
| <div class="grid-row grid-gap grid-gap-2 padding-top-1"> | ||
| <div class='grid-col-fill'> | ||
| <%= t('doc_auth.forms.ssn') %>: | ||
| <%= t('idv.form.ssn') %>: | ||
| <%= render( | ||
| 'shared/masked_text', | ||
| text: SsnFormatter.format(pii[:ssn]), | ||
|
|
@@ -80,8 +88,8 @@ locals: | |
| step_url.call(step: :redo_ssn), | ||
| method: :put, | ||
| class: 'usa-button usa-button--unstyled', | ||
| 'aria-label': t('doc_auth.buttons.change_ssn_label'), | ||
| ) { t('doc_auth.buttons.change_label') } %> | ||
| 'aria-label': t('idv.buttons.change_ssn_label'), | ||
| ) { t('idv.buttons.change_label') } %> | ||
| </div> | ||
| </div> | ||
| <div class="margin-top-5"> | ||
|
|
@@ -91,7 +99,7 @@ locals: | |
| end, | ||
| big: true, | ||
| wide: true, | ||
| action_message: t('doc_auth.info.verifying'), | ||
| action_message: t('idv.messages.verifying'), | ||
| method: :put, | ||
| form: { | ||
| class: 'button_to', | ||
|
|
||

Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This styling was making the city input text smaller than the other inputs:
