Skip to content

Commit

Permalink
Merge pull request #1821 from alphagov/textarea-id
Browse files Browse the repository at this point in the history
Update calls to textarea with the id option
  • Loading branch information
andysellick authored Jan 22, 2025
2 parents ee11d1c + a96cde4 commit 97eb95f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ GEM
govuk_personalisation (1.1.0)
plek (>= 1.9.0)
rails (>= 6, < 9)
govuk_publishing_components (47.0.0)
govuk_publishing_components (50.0.0)
govuk_app_config
govuk_personalisation (>= 0.7.0)
kramdown
Expand Down Expand Up @@ -309,7 +309,7 @@ GEM
i18n (1.14.7)
concurrent-ruby (~> 1.0)
io-console (0.8.0)
irb (1.15.0)
irb (1.15.1)
pp (>= 0.6.0)
rdoc (>= 4.0.0)
reline (>= 0.4.2)
Expand Down
2 changes: 1 addition & 1 deletion app/views/sites/_site_form.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@
},
hint: t("helpers.hint.site_form.aliases"),
name: form.field_name(:aliases),
id: field_id_attribute(form.object, :aliases),
textarea_id: field_id_attribute(form.object, :aliases),
value: form.object.aliases,
error_message: error_message(form.object, :aliases),
} %>
Expand Down
2 changes: 1 addition & 1 deletion app/views/sites/confirm_destroy.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

<%= render "govuk_publishing_components/components/warning_text", {
text: "This will delete the #{@site.default_host.hostname} site and all the data that is associated with it.",
margin_bottom: true
margin_bottom: 6
} %>

<p class="govuk-body">In addition to the site, this action will also remove:</p>
Expand Down

0 comments on commit 97eb95f

Please sign in to comment.