You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
1.2 KiB
29 lines
1.2 KiB
3 months ago
|
<% item_label = format_label(@pagy.count, "uploads") %>
|
||
|
<% title = format_title(@searched, bulk_upload_title(controller.controller_name), current_user, item_label, @pagy.count, nil) %>
|
||
|
|
||
|
<% content_for :title, title %>
|
||
|
|
||
|
<h1 class="govuk-heading-l govuk-!-margin-bottom-7">
|
||
|
<%= bulk_upload_title(controller.controller_name) %>
|
||
|
</h1>
|
||
|
|
||
|
<div class="app-filter-layout" data-controller="filter-layout">
|
||
|
<%= render partial: "bulk_upload_shared/upload_filters" %>
|
||
|
|
||
|
<div class="app-filter-layout__content">
|
||
|
<%= render SearchComponent.new(current_user:, search_label: "Search by file name, user's name or email, or organisation", value: @searched) %>
|
||
|
<%= govuk_section_break(visible: true, size: "m") %>
|
||
|
<%= render partial: "bulk_upload_shared/upload_list",
|
||
|
locals: {
|
||
|
bulk_uploads: @bulk_uploads,
|
||
|
title: "Bulk uploads",
|
||
|
pagy: @pagy,
|
||
|
searched: @searched,
|
||
|
item_label:,
|
||
|
total_count: @total_count,
|
||
|
filter_type: @filter_type,
|
||
|
} %>
|
||
|
<%== render partial: "pagy/nav", locals: { pagy: @pagy, item_name: "bulk uploads" } %>
|
||
|
</div>
|
||
|
</div>
|