- <%= member.full_name.titleize %> |
- <%= member.person.hbx_id %> |
- <%= member.age_on(TimeKeeper.date_of_record) %> |
- <%= member.gender.humanize %> |
- <%= member.relationship.try(:humanize) %> |
-
- <% edit_url = member.is_primary_applicant ? personal_insured_families_path({bs4: @bs4}) : main_app.edit_insured_family_member_path({id: member.id, bs4: @bs4}) %>
-
- <%= h(link_to l10n("edit_member"), edit_url, remote: true, class: 'edit-member btn button outline close-2') %>
-
- <%= link_to('#', class: 'btn outline mr-2 text-nowrap') do %>
- <%= l10n("cancel_edit") %>
- <% end %>
- <% confirm_id = "member-#{person_id}-confirm" %>
- class="confirm-member btn btn-primary text-nowrap">
- <%= l10n("save_changes") %>
-
-
+<% person_id = member.person.id %>
+
+ <%= member.full_name.titleize %> |
+ <%= member.person.hbx_id %> |
+ <%= member.age_on(TimeKeeper.date_of_record) %> |
+ <%= member.gender.humanize %> |
+ <%= member.relationship.try(:humanize) %> |
+
+ <% edit_url = member.is_primary_applicant ? personal_insured_families_path({bs4: @bs4}) : main_app.edit_insured_family_member_path({id: member.id, bs4: @bs4}) %>
+
+ <%= h(link_to l10n("edit_member"), edit_url, remote: true, class: 'edit-member btn button outline close-2') %>
+
+ <%= link_to('#', class: 'btn outline mr-2 text-nowrap') do %>
+ <%= l10n("cancel_edit") %>
+ <% end %>
+ <% confirm_id = "member-#{person_id}-confirm" %>
+ class="confirm-member btn btn-primary text-nowrap">
+ <%= l10n("save_changes") %>
+
- |
-
+
+ |
+
<% if has_active_consumer_dependent?(@person, @dependent) %>
<%= render 'shared/address_fields_for_dependent', f: f, show_no_dc_address: true %>
diff --git a/app/views/people/landing_pages/_personal.html.erb b/app/views/people/landing_pages/_personal.html.erb
index 94a53738910..e3e25a7b5f3 100644
--- a/app/views/people/landing_pages/_personal.html.erb
+++ b/app/views/people/landing_pages/_personal.html.erb
@@ -66,13 +66,13 @@
<% if current_user.does_not_have_any_staff_role? && !current_user.has_insured_role? %>
<%= render 'shared/age_off_excluded', f: f %>
<% end %>
-
+
<% if @person.is_consumer_role_active? %>
<%= render 'shared/consumer_fields', f: f %>
- <%= render partial: 'shared/consumer_home_address_fields', locals: {f: f, bs4: true} %>
+ <%= render partial: 'shared/consumer_home_address_fields', locals: {f: f} %>
<% else %>
<%= render 'shared/home_address_fields', f: f %>
<% end %>
@@ -81,11 +81,11 @@
<%= l10n("insured.consumer_roles.phone_and_email") %>
<%= l10n("insured.consumer_roles.please_provide") %>
- <%= render partial: 'shared/phone_fields', locals: {f: f, bs4: true} %>
+ <%= render partial: 'shared/phone_fields', locals: {f: f} %>
<%= f.fields_for :emails, errors: {}, fieldset: true do |email| %>
- <%= render partial: 'shared/email_fields', locals: {f: email, bs4: true} %>
+ <%= render partial: 'shared/email_fields', locals: {f: email} %>
<% end %>
diff --git a/app/views/shared/_address_fields_for_dependent.html.erb b/app/views/shared/_address_fields_for_dependent.html.erb
index 377ed782ba5..f201c95f216 100644
--- a/app/views/shared/_address_fields_for_dependent.html.erb
+++ b/app/views/shared/_address_fields_for_dependent.html.erb
@@ -15,8 +15,18 @@
<% display_class="d-none" %>
<% end %>
<% end %>
- <% required = kind =='home' ? "address_required" : '' %>
+
+ <% if kind == 'home' %>
+
<%= l10n("insured.consumer_roles.home_address") %>
+ <%= l10n("insured.primary_home_address_info") %>
+ <% elsif kind == 'mailing' %>
+ <%= l10n("insured.mailing_address") %>
+ <%=l10n("insured.primary_mailing_address_info")%>
+ <% end %>
+
+
+ <% required = kind =='home' ? "address_required" : '' %>
<%# mailing-div inputs should default to unrequired because the mailing-div is hidden by default; required attrs on the fields are added in application.js on show %>
diff --git a/app/views/shared/_consumer_home_address_fields.html.erb b/app/views/shared/_consumer_home_address_fields.html.erb
index 1952de6aa57..9a12a09f37f 100644
--- a/app/views/shared/_consumer_home_address_fields.html.erb
+++ b/app/views/shared/_consumer_home_address_fields.html.erb
@@ -16,6 +16,7 @@
<% required = kind =='home' ? "address_required" : '' %>
<% if kind == 'home' %>
+
<%= l10n("insured.consumer_roles.home_address") %>
<%= l10n("insured.primary_home_address_info") %>
<% elsif kind == 'mailing' %>
<%= l10n("insured.mailing_address") %>
diff --git a/components/financial_assistance/app/views/financial_assistance/applicants/_edit.html.erb b/components/financial_assistance/app/views/financial_assistance/applicants/_edit.html.erb
index 3bea81d437e..ad461692415 100644
--- a/components/financial_assistance/app/views/financial_assistance/applicants/_edit.html.erb
+++ b/components/financial_assistance/app/views/financial_assistance/applicants/_edit.html.erb
@@ -2,7 +2,7 @@
<%= form_for @applicant, url: application_applicant_path(@application, @applicant), method: :patch do |f|%>
<%= hidden_field_tag :is_dependent, @applicant.is_dependent? %>
<% readonly_status = @applicant.is_primary_applicant? %>
-
+
<% else %>
- <%= l10n("insured.consumer_roles.home_address") %>
<%= render partial: 'shared/consumer_home_address_fields', locals: {f: f, bs4: true} %>