diff --git a/app/views/organisations/index.html.erb b/app/views/organisations/index.html.erb index c0587ab51..4b7590129 100644 --- a/app/views/organisations/index.html.erb +++ b/app/views/organisations/index.html.erb @@ -1,4 +1,4 @@ -<% item_label = @pagy.count > 1 ? "organisations" : "organisation" %> +<% item_label = format_label(@pagy.count, "organisation") %> <% if @searched.present? %> <% title = "Organisations (#{@pagy.count} #{item_label} matching ‘#{@searched}’)" %> <% else %>