<%= link_to root_path do %> ← <%= t('back_to_active') %> <% end %>

<%= t('submissions') %> <%= t('archived') %>

<% if params[:q].present? || @pagy.pages > 1 %> <%= render 'shared/search_input', placeholder: "#{t('search')}..." %> <% end %>
<% if @pagy.count > 0 %>
<%= render partial: 'templates/submission', collection: @submissions, locals: { with_template: true, archived: true } %>
<% elsif params[:q].present? %>
<%= t('submissions_not_found') %>
<% end %> <%= render 'shared/pagination', pagy: @pagy, items_name: 'submissions' %>