Browse Source

feat: remove counter text when just 1 person

CLDC-1537-details-for-person-1
natdeanlewissoftwire 2 years ago
parent
commit
177ccfe0f0
  1. 1
      app/models/form/sales/pages/person1_known.rb
  2. 1
      app/views/form/headers/_person_1_known_page.erb

1
app/models/form/sales/pages/person1_known.rb

@ -2,7 +2,6 @@ class Form::Sales::Pages::Person1Known < ::Form::Page
def initialize(id, hsh, subsection) def initialize(id, hsh, subsection)
super super
@id = "person_1_known" @id = "person_1_known"
@header_partial = "person_1_known_page"
@header = "" @header = ""
@description = "" @description = ""
@subsection = subsection @subsection = subsection

1
app/views/form/headers/_person_1_known_page.erb

@ -1 +0,0 @@
You have given us the details for 0 of the <%= log.hholdcount %> other people in the household
Loading…
Cancel
Save