Skip to content

Commit

Permalink
Merge pull request #9843 from alphagov/use-textareas-for-contact-addr…
Browse files Browse the repository at this point in the history
…esses

Use textarea instead of input for contact street address field
  • Loading branch information
ryanb-gds authored Jan 27, 2025
2 parents 4371d04 + f70a171 commit d42ed73
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/views/admin/contacts/_form_fields.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@
</div>

<div class="govuk-!-margin-bottom-4">
<%= render "govuk_publishing_components/components/input", {
<%= render "govuk_publishing_components/components/textarea", {
label: {
text: "Street address",
heading_size: "m",
},
name: "#{name}[street_address]",
id: "#{id}_street_address",
heading_size: "m",
textarea_id: "#{id}_street_address",
value: contact_form.object.street_address,
error_items: errors_for(contact_form.object.errors, :street_address),
} %>
Expand Down

0 comments on commit d42ed73

Please sign in to comment.