diff --git a/app/views/form/headers/_person_2_known_page.erb b/app/views/form/headers/_person_2_known_page.erb index b179fcdb8..734a5383f 100644 --- a/app/views/form/headers/_person_2_known_page.erb +++ b/app/views/form/headers/_person_2_known_page.erb @@ -1 +1,5 @@ -You have given us the details for 0 of the <%= log.hholdcount %> other people in the household +<% if log.form.start_year_2026_or_later? %> + You have given us the details for 1 of the <%= log.hholdcount %> people in the household +<% else %> + You have given us the details for 0 of the <%= log.hholdcount %> other people in the household +<% end %> diff --git a/app/views/form/headers/_person_3_known_page.erb b/app/views/form/headers/_person_3_known_page.erb index 678db7c27..3efe7f926 100644 --- a/app/views/form/headers/_person_3_known_page.erb +++ b/app/views/form/headers/_person_3_known_page.erb @@ -1 +1,5 @@ -You have given us the details for <%= log.joint_purchase? ? 0 : 1 %> of the <%= log.hholdcount %> other people in the household +<% if log.form.start_year_2026_or_later? %> + You have given us the details for 2 of the <%= log.hholdcount %> people in the household +<% else %> + You have given us the details for <%= log.joint_purchase? ? 0 : 1 %> of the <%= log.hholdcount %> other people in the household +<% end %> diff --git a/app/views/form/headers/_person_4_known_page.erb b/app/views/form/headers/_person_4_known_page.erb index 5b82c4776..1ef9ba254 100644 --- a/app/views/form/headers/_person_4_known_page.erb +++ b/app/views/form/headers/_person_4_known_page.erb @@ -1 +1,5 @@ -You have given us the details for <%= log.joint_purchase? ? 1 : 2 %> of the <%= log.hholdcount %> other people in the household +<% if log.form.start_year_2026_or_later? %> + You have given us the details for 3 of the <%= log.hholdcount %> people in the household +<% else %> + You have given us the details for <%= log.joint_purchase? ? 1 : 2 %> of the <%= log.hholdcount %> other people in the household +<% end %> diff --git a/app/views/form/headers/_person_5_known_page.erb b/app/views/form/headers/_person_5_known_page.erb index 5d53e86be..52e05ea27 100644 --- a/app/views/form/headers/_person_5_known_page.erb +++ b/app/views/form/headers/_person_5_known_page.erb @@ -1 +1,5 @@ -You have given us the details for <%= log.joint_purchase? ? 2 : 3 %> of the <%= log.hholdcount %> other people in the household +<% if log.form.start_year_2026_or_later? %> + You have given us the details for 4 of the <%= log.hholdcount %> people in the household +<% else %> + You have given us the details for <%= log.joint_purchase? ? 2 : 3 %> of the <%= log.hholdcount %> other people in the household +<% end %> diff --git a/app/views/form/headers/_person_6_known_page.erb b/app/views/form/headers/_person_6_known_page.erb index 96cc94fd3..c07727f3d 100644 --- a/app/views/form/headers/_person_6_known_page.erb +++ b/app/views/form/headers/_person_6_known_page.erb @@ -1 +1,5 @@ -You have given us the details for <%= log.joint_purchase? ? 3 : 4 %> of the <%= log.hholdcount %> other people in the household +<% if log.form.start_year_2026_or_later? %> + You have given us the details for 5 of the <%= log.hholdcount %> people in the household +<% else %> + You have given us the details for <%= log.joint_purchase? ? 3 : 4 %> of the <%= log.hholdcount %> other people in the household +<% end %>