Browse Source

feat: add household needs numbering

pull/1381/head
natdeanlewissoftwire 3 years ago
parent
commit
f51f5edbc4
  1. 1
      app/models/form/lettings/questions/armedforces.rb
  2. 1
      app/models/form/lettings/questions/condition_effects.rb
  3. 1
      app/models/form/lettings/questions/housingneeds.rb
  4. 1
      app/models/form/lettings/questions/housingneeds_other.rb
  5. 1
      app/models/form/lettings/questions/housingneeds_type.rb
  6. 1
      app/models/form/lettings/questions/illness.rb
  7. 1
      app/models/form/lettings/questions/leftreg.rb
  8. 1
      app/models/form/lettings/questions/preg_occ.rb
  9. 1
      app/models/form/lettings/questions/reservist.rb

1
app/models/form/lettings/questions/armedforces.rb

@ -8,6 +8,7 @@ class Form::Lettings::Questions::Armedforces < ::Form::Question
@check_answers_card_number = 0
@hint_text = "This excludes national service.<br><br>If there are several people in the household with links to the UK armed forces, you should answer for the regular. If there’s no regular, answer for the reserve. If there’s no reserve, answer for the spouse or civil partner."
@answer_options = ANSWER_OPTIONS
@question_number = 66
end
ANSWER_OPTIONS = {

1
app/models/form/lettings/questions/condition_effects.rb

@ -8,6 +8,7 @@ class Form::Lettings::Questions::ConditionEffects < ::Form::Question
@check_answers_card_number = 0
@hint_text = "Select all that apply."
@answer_options = ANSWER_OPTIONS
@question_number = 74
end
ANSWER_OPTIONS = {

1
app/models/form/lettings/questions/housingneeds.rb

@ -8,6 +8,7 @@ class Form::Lettings::Questions::Housingneeds < ::Form::Question
@check_answers_card_number = 0
@hint_text = ""
@answer_options = ANSWER_OPTIONS
@question_number = 70
end
ANSWER_OPTIONS = {

1
app/models/form/lettings/questions/housingneeds_other.rb

@ -8,6 +8,7 @@ class Form::Lettings::Questions::HousingneedsOther < ::Form::Question
@check_answers_card_number = 0
@hint_text = ""
@answer_options = ANSWER_OPTIONS
@question_number = 72
end
ANSWER_OPTIONS = { "1" => { "value" => "Yes" }, "0" => { "value" => "No" } }.freeze

1
app/models/form/lettings/questions/housingneeds_type.rb

@ -8,6 +8,7 @@ class Form::Lettings::Questions::HousingneedsType < ::Form::Question
@check_answers_card_number = 0
@hint_text = ""
@answer_options = ANSWER_OPTIONS
@question_number = 71
end
ANSWER_OPTIONS = {

1
app/models/form/lettings/questions/illness.rb

@ -8,6 +8,7 @@ class Form::Lettings::Questions::Illness < ::Form::Question
@check_answers_card_number = 0
@hint_text = ""
@answer_options = ANSWER_OPTIONS
@question_number = 73
end
ANSWER_OPTIONS = {

1
app/models/form/lettings/questions/leftreg.rb

@ -8,6 +8,7 @@ class Form::Lettings::Questions::Leftreg < ::Form::Question
@check_answers_card_number = 0
@hint_text = ""
@answer_options = ANSWER_OPTIONS
@question_number = 67
end
ANSWER_OPTIONS = {

1
app/models/form/lettings/questions/preg_occ.rb

@ -8,6 +8,7 @@ class Form::Lettings::Questions::PregOcc < ::Form::Question
@check_answers_card_number = 0
@hint_text = ""
@answer_options = ANSWER_OPTIONS
@question_number = 69
end
ANSWER_OPTIONS = {

1
app/models/form/lettings/questions/reservist.rb

@ -8,6 +8,7 @@ class Form::Lettings::Questions::Reservist < ::Form::Question
@check_answers_card_number = 0
@hint_text = ""
@answer_options = ANSWER_OPTIONS
@question_number = 68
end
ANSWER_OPTIONS = {

Loading…
Cancel
Save