Skip to content

Commit

Permalink
bs4 fix contact subheader (#4272)
Browse files Browse the repository at this point in the history
* add missing translation, add header to other consumer forms

* fix font size in table form
  • Loading branch information
charlienparker authored Aug 11, 2024
1 parent 5174a1d commit 0777134
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/javascript/css/table.scss
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ table {
font-weight: 400;
}
}

form {
font-size: 16px;
}
}

td,
Expand Down
1 change: 1 addition & 0 deletions app/views/insured/consumer_roles/_form.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
</section>
<section class="mb-4">
<h4 class="gamma mb-0"><%= l10n("insured.consumer_roles.phone_and_email") %></h4>
<p><%= l10n("insured.consumer_roles.please_provide") %></p>
<%= render partial: 'shared/phone_fields', locals: {f: f, bs4: true} %>
<div id="email_info" class="">
<div class="email d-flex mb-md-4 row col-sm">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@
</section>
<section class="mb-4 hidden">
<h4 class="gamma mb-0"><%= l10n("insured.consumer_roles.phone_and_email") %></h4>
<p><%= l10n("insured.consumer_roles.please_provide") %></p>
<%= render partial: 'shared/phone_fields', locals: {f: f, bs4: true} %>
<div id="email_info" class="">
<div class="email d-flex mb-md-4 row col-sm">
Expand Down
1 change: 1 addition & 0 deletions db/seedfiles/translations/en/cca/insured.rb
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
:'en.insured.consumer_roles.contact_info_for' => "Contact Information for",
:'en.insured.consumer_roles.home_address' => "Home Address",
:'en.insured.consumer_roles.phone_and_email' => "Phone and Email",
:'en.insured.consumer_roles.please_provide' => "Please provide as much information as possible",
:'en.insured.consumer_roles.immigration_field_warning1' => "It's important to enter as many fields from your immigration documents as possible",
:'en.insured.consumer_roles.immigration_field_warning2' => " even though some fields may be labeled 'optional'. Entering all of your document information makes the application process go smoother and faster, helps make sure your eligibility results are correct, and may prevent you from needing to come back later and provide information.",
:'en.insured.consumer_roles.dependent_error.header' => "Correct the following to add this family member:",
Expand Down
1 change: 1 addition & 0 deletions db/seedfiles/translations/en/dc/insured.rb
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@
:"en.insured.consumer_roles.contact_info_for" => "Contact Information for",
:"en.insured.consumer_roles.home_address" => "Home Address",
:"en.insured.consumer_roles.phone_and_email" => "Phone and Email",
:'en.insured.consumer_roles.please_provide' => "Please provide as much information as possible",
:"en.insured.consumer_roles.immigration_field_warning1" => "It's important to enter as many fields from your immigration documents as possible",
:'en.insured.consumer_roles.immigration_field_warning2' => " even though some fields may be labeled 'optional'. Entering all of your document information makes the application process go smoother and faster, helps make sure your eligibility results are correct, and may prevent you from needing to come back later and provide information.",
:'en.your_information' => "Privacy & Use of Your Information",
Expand Down
1 change: 1 addition & 0 deletions db/seedfiles/translations/en/me/insured.rb
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
:'en.insured.consumer_roles.contact_info_for' => "Contact Information for",
:'en.insured.consumer_roles.home_address' => "Home Address",
:'en.insured.consumer_roles.phone_and_email' => "Phone and Email",
:'en.insured.consumer_roles.please_provide' => "Please provide as much information as possible",
:'en.insured.consumer_roles.immigration_field_warning1' => "It's important to enter as many fields from your immigration documents as possible",
:'en.insured.consumer_roles.immigration_field_warning2' => " even though some fields may be labeled 'optional'. Entering all of your document information makes the application process go smoother and faster, helps make sure your eligibility results are correct, and may prevent you from needing to come back later and provide information.",
:'en.insured.consumer_roles.dependent_error.header' => "Correct the following to add this family member:",
Expand Down

0 comments on commit 0777134

Please sign in to comment.