diff --git a/app/models/step_select_postcode_area.rb b/app/models/step_select_postcode_area.rb index 7f66ba7..1c1fbc4 100644 --- a/app/models/step_select_postcode_area.rb +++ b/app/models/step_select_postcode_area.rb @@ -33,8 +33,8 @@ def validate_with(workflow, value) workflow.traverse_to(successor_step) else set_flash("Sorry, '#{value}' does not appear to be a valid value for a #{subtype_label}. - A #{subtype_label} is the first one or two letters of a UK postcode, for example "B" - or "TA"".html_safe) + A #{subtype_label} is the first one or two letters of a UK postcode, for example + 'B' or 'TA'.") end end end diff --git a/app/models/step_select_postcode_district.rb b/app/models/step_select_postcode_district.rb index d6b1548..2c6a643 100644 --- a/app/models/step_select_postcode_district.rb +++ b/app/models/step_select_postcode_district.rb @@ -33,8 +33,8 @@ def validate_with(workflow, value) workflow.traverse_to(successor_step) else set_flash("Sorry, '#{value}' does not appear to be a valid value for a #{subtype_label}. - A #{subtype_label} is the first part of a UK postcode, up to the space. For example - "B17" or "TA9"".html_safe) + A #{subtype_label} is the first part of a UK postcode, up to the space. For example + 'B17' or 'TA9'.") end end end diff --git a/app/models/step_select_postcode_sector.rb b/app/models/step_select_postcode_sector.rb index d62c9b2..077437e 100644 --- a/app/models/step_select_postcode_sector.rb +++ b/app/models/step_select_postcode_sector.rb @@ -37,8 +37,8 @@ def validate_with(workflow, value) workflow.traverse_to(successor_step) else set_flash("Sorry, '#{value}' does not appear to be a valid value for a #{subtype_label}. - A #{subtype_label} is the first part of a UK postcode, up to and including the first - digit after the space. For example "B17 0" or "TA9 3"".html_safe) + A #{subtype_label} is the first part of a UK postcode, up to and including the first + digit after the space. For example 'B17 0' or 'TA9 3'.") end end end