From 4e8430fa62bf48561552a50604c8e41942eaa6f1 Mon Sep 17 00:00:00 2001 From: baarkerlounger Date: Tue, 7 Dec 2021 16:59:45 +0000 Subject: [PATCH] Address line label --- app/views/organisations/edit.html.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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" %>