|
|
|
@ -1,7 +1,7 @@
|
|
|
|
|
<section class="app-table-group" tabindex="0" aria-labelledby="<%= title.dasherize %>"> |
|
|
|
|
<%= govuk_table do |table| %> |
|
|
|
|
<%= table.caption(classes: %w[govuk-!-font-size-19 govuk-!-font-weight-regular]) do |caption| %> |
|
|
|
|
<%= render(SearchResultCaptionComponent.new(searched:, count: pagy.count, item_label:, total_count:, item: "users", path: request.path)) %> |
|
|
|
|
<%= render(SearchResultCaptionComponent.new(searched: searched, count: pagy.count, item_label: item_label, total_count: total_count, item: "users", path: request.path)) %> |
|
|
|
|
<% if current_user.support? %> |
|
|
|
|
<% query = searched.present? ? "?search=#{searched}" : nil %> |
|
|
|
|
<%= govuk_link_to "Download (CSV)", "/users.csv#{query}", type: "text/csv" %> |
|
|
|
|