diff --git a/app/views/organisations/edit.html.erb b/app/views/organisations/edit.html.erb index 538af4791..a108ebc4c 100644 --- a/app/views/organisations/edit.html.erb +++ b/app/views/organisations/edit.html.erb @@ -19,12 +19,12 @@ %> <%= f.govuk_text_field :address_line1, - label: -> { safe_join(["Building and street", " ", tag.span("line 1 of 2", class: "govuk-visually-hidden")]) }, + label: { text: "Address line 1 of 2", hidden: true },, autocomplete: "address-line1" %> <%= f.govuk_text_field :address_line2, - label: { text: "Building and street line 2 of 2", hidden: true }, + label: { text: "Address line 2 of 2", hidden: true }, autocomplete: "address-line2" %>