From 8ba2cd26b361d5e337885b916cf7c8854f30905b Mon Sep 17 00:00:00 2001 From: magicmilo Date: Thu, 18 Nov 2021 16:37:34 +0000 Subject: [PATCH] more json --- Gemfile.lock | 3 +++ config/forms/2021_2022.json | 14 ++++++++------ 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index 04961facf..e4a47433d 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -225,6 +225,8 @@ GEM minitest (5.14.4) msgpack (1.4.2) nio4r (2.5.8) + nokogiri (1.12.5-x86_64-darwin) + racc (~> 1.4) nokogiri (1.12.5-x86_64-linux) racc (~> 1.4) overcommit (0.58.0) @@ -383,6 +385,7 @@ GEM zeitwerk (2.5.1) PLATFORMS + x86_64-darwin-20 x86_64-linux DEPENDENCIES diff --git a/config/forms/2021_2022.json b/config/forms/2021_2022.json index 499728a88..c1e47fdac 100644 --- a/config/forms/2021_2022.json +++ b/config/forms/2021_2022.json @@ -1534,7 +1534,7 @@ }, "depends_on": { "first_time_property_let_as_social_housing": "No" } }, - "property_vacancy_reason": { + "property_vacancy_reason_not_first_let": { "header": "", "description": "", "questions": { @@ -1557,9 +1557,10 @@ "10": "Previous tenant passed away (no succession)" } } - } + }, + "depends_on": { "first_time_property_let_as_social_housing": "No" } }, - "property_vacancy_reason": { + "property_vacancy_reason_first_let": { "header": "", "description": "", "questions": { @@ -1574,9 +1575,10 @@ "13": "First let of leased property" } } - } + }, + "depends_on": { "first_time_property_let_as_social_housing": "Yes" } }, - "property_number_of_times_relet": { + "property_number_of_times_relet_not_social_let": { "header": "", "description": "", "questions": { @@ -1592,7 +1594,7 @@ }, "depends_on": { "first_time_property_let_as_social_housing": "No" } }, - "property_number_of_times_relet": { + "property_number_of_times_relet_social_let": { "header": "", "description": "", "questions": {