Browse Source

feat: add missing helpers

pull/3349/head
Nat Dean-Lewis 3 weeks ago
parent
commit
3eebdb241e
  1. 4
      app/components/bulk_upload_summary_component.rb

4
app/components/bulk_upload_summary_component.rb

@ -28,8 +28,8 @@ class BulkUploadSummaryComponent < ViewComponent::Base
text = count > 1 ? (plural_text || singular_text.pluralize(count)) : singular_text text = count > 1 ? (plural_text || singular_text.pluralize(count)) : singular_text
helpers.content_tag(:p, class: "govuk-!-font-size-16 govuk-!-margin-bottom-1") do helpers.content_tag(:p, class: "govuk-!-font-size-16 govuk-!-margin-bottom-1") do
concat(helpers.content_tag(:strong, count)) helpers.concat(helpers.content_tag(:strong, count))
concat(" #{text}") helpers.concat(" #{text}")
end end
end end

Loading…
Cancel
Save