Skip to content

Commit

Permalink
Use textarea instead of input for contact street address field
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanb-gds committed Jan 24, 2025
1 parent 4b12497 commit f70a171
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 f70a171

Please sign in to comment.