From ba5890ba31647d6c246317f631119a12b2a94fb1 Mon Sep 17 00:00:00 2001 From: Kat Date: Tue, 3 Jan 2023 10:48:17 +0000 Subject: [PATCH] Add spacing to the hint text --- app/models/form/sales/questions/discount.rb | 4 ++-- spec/models/form/sales/questions/discount_spec.rb | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/models/form/sales/questions/discount.rb b/app/models/form/sales/questions/discount.rb index 4172ba4f2..d7b9fa33b 100644 --- a/app/models/form/sales/questions/discount.rb +++ b/app/models/form/sales/questions/discount.rb @@ -10,8 +10,8 @@ class Form::Sales::Questions::Discount < ::Form::Question @max = 100 @width = 5 @suffix = "%" - @hint_text = "For Right to Buy (RTB), Preserved Right to Buy (PRTB), and Voluntary Right to Buy (VRTB) - If discount capped, enter capped % + @hint_text = "For Right to Buy (RTB), Preserved Right to Buy (PRTB), and Voluntary Right to Buy (VRTB)

+ If discount capped, enter capped %

If the property is being sold to an existing tenant under the RTB, PRTB, or VRTB schemes, enter the % discount from the full market value that is being given." end end diff --git a/spec/models/form/sales/questions/discount_spec.rb b/spec/models/form/sales/questions/discount_spec.rb index 977585d7b..f40b2eded 100644 --- a/spec/models/form/sales/questions/discount_spec.rb +++ b/spec/models/form/sales/questions/discount_spec.rb @@ -32,8 +32,8 @@ RSpec.describe Form::Sales::Questions::Discount, type: :model do end it "has the correct hint" do - expect(question.hint_text).to eq("For Right to Buy (RTB), Preserved Right to Buy (PRTB), and Voluntary Right to Buy (VRTB) - If discount capped, enter capped % + expect(question.hint_text).to eq("For Right to Buy (RTB), Preserved Right to Buy (PRTB), and Voluntary Right to Buy (VRTB)

+ If discount capped, enter capped %

If the property is being sold to an existing tenant under the RTB, PRTB, or VRTB schemes, enter the % discount from the full market value that is being given.") end