diff --git a/app/assets/javascripts/application.js.erb b/app/assets/javascripts/application.js.erb index 20259c8b7b1..4b8350fc958 100644 --- a/app/assets/javascripts/application.js.erb +++ b/app/assets/javascripts/application.js.erb @@ -893,13 +893,11 @@ document.addEventListener('click', function(event) { const addButton = event.target; addButton.classList.add('d-none'); const removeButton = addButton.cloneNode(true); - console.log(removeButton); removeButton.textContent = 'Remove Mailing Address'; removeButton.id = 'remove_mailing_address'; - removeButton.classList.add('interaction-click-control-remove-mailing-address'); - removeButton.classList.remove("d-none", "interaction-click-control-add-mailing-address"); + removeButton.classList.add('interaction-click-control-remove-mailing-address', 'error'); + removeButton.classList.remove("d-none", "btn-secondary", "interaction-click-control-add-mailing-address"); addButton.parentNode.insertBefore(removeButton, addButton); - console.log(removeButton); document.querySelectorAll(".mailing-div").forEach(el => { el.classList.remove('d-none'); el.classList.add('d-block'); diff --git a/app/views/layouts/_flash.html.erb b/app/views/layouts/_flash.html.erb index 62fa66b7e6c..5c91cb883fa 100644 --- a/app/views/layouts/_flash.html.erb +++ b/app/views/layouts/_flash.html.erb @@ -7,7 +7,7 @@
<%= raw message %>
-   +  Close <% else %> diff --git a/app/views/shared/_consumer_home_address_fields.html.erb b/app/views/shared/_consumer_home_address_fields.html.erb index a03f653e803..21e50062a49 100644 --- a/app/views/shared/_consumer_home_address_fields.html.erb +++ b/app/views/shared/_consumer_home_address_fields.html.erb @@ -16,9 +16,9 @@ <% required = kind =='home' ? "address_required" : '' %>
<% if kind == 'home' %> - <%=l10n("insured.primary_home_address_info")%> + <%= l10n("insured.primary_home_address_info") %> <% elsif kind == 'mailing' %> -
<%=l10n("insured.enter_mailing_address")%>
+

<%= l10n("insured.consumer_roles.mailing_address") %>

<%=l10n("insured.primary_mailing_address_info")%> <% end %>
@@ -104,10 +104,10 @@ <% end %> <% if f.object.addresses[1].present? %> - - + + <% else %> - + <% end %>
 
<% else %> diff --git a/db/seedfiles/translations/en/dc/insured.rb b/db/seedfiles/translations/en/dc/insured.rb index 063bb52f337..5b4b5e498d5 100644 --- a/db/seedfiles/translations/en/dc/insured.rb +++ b/db/seedfiles/translations/en/dc/insured.rb @@ -644,6 +644,7 @@ :'en.insured.dependent_home_address_info' => "The home address is where this person legally resides. If they want to receive mail at another address such as an office or a PO Box, Select 'Add Mailing Address'", :'en.insured.dependent_mailing_address_info' => "This is the address where this person wants to have their mail delivered. It may be the same or different from their home address.", :'en.insured.enter_home_address' => "Enter your home address", + :'en.insured.mailing_address' => "Mailing Address", :'en.insured.enter_mailing_address' => "Enter a mailing address", :'en.insured.review_information' => "I have reviewed the information in this application and I attest, under penalty of perjury, that it is accurate and complete to the best of my knowledge. I understand that if I’m not truthful, there may be a penalty, including retroactive termination of my coverage and an obligation to repay all medical claims previous covered by the health insurance.", :'en.insured.us_citizen' => "Is this person a US citizen or US national?", diff --git a/db/seedfiles/translations/en/me/insured.rb b/db/seedfiles/translations/en/me/insured.rb index f6c58a53d5e..638c88464b4 100644 --- a/db/seedfiles/translations/en/me/insured.rb +++ b/db/seedfiles/translations/en/me/insured.rb @@ -648,6 +648,7 @@ :'en.insured.dependent_home_address_info' => "The home address is where this person legally resides. If they want to receive mail at another address such as an office or a PO Box, Select 'Add Mailing Address'", :'en.insured.dependent_mailing_address_info' => "This is the address where this person wants to have their mail delivered. It may be the same or different from their home address.", :'en.insured.enter_home_address' => "Enter your home address", + :'en.insured.mailing_address' => "Mailing Address", :'en.insured.enter_mailing_address' => "Enter a mailing address", :'en.insured.review_information' => "I have reviewed the information in this application and I attest, under penalty of perjury, that it is accurate and complete to the best of my knowledge. I understand that if I’m not truthful, there may be a penalty.", :'en.insured.us_citizen' => "Is this person a US citizen or US national?",