Browse Source

Address line label

pull/150/head
baarkerlounger 4 years ago
parent
commit
4e8430fa62
  1. 4
      app/views/organisations/edit.html.erb

4
app/views/organisations/edit.html.erb

@ -19,12 +19,12 @@
%> %>
<%= f.govuk_text_field :address_line1, <%= 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" autocomplete: "address-line1"
%> %>
<%= f.govuk_text_field :address_line2, <%= 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" autocomplete: "address-line2"
%> %>

Loading…
Cancel
Save