Skip to content

Commit

Permalink
fixes bug
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielCouzens committed Sep 3, 2024
1 parent e757a2e commit 9cca41d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions app/models/step_select_postcode_area.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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&quot".html_safe)
A #{subtype_label} is the first one or two letters of a UK postcode, for example
'B' or 'TA'.")
end
end
end
4 changes: 2 additions & 2 deletions app/models/step_select_postcode_district.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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&quot".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
4 changes: 2 additions & 2 deletions app/models/step_select_postcode_sector.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 9cca41d

Please sign in to comment.