|
|
|
@ -7,12 +7,10 @@
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="flex justify-between mb-6 md:items-end flex-col md:flex-row">
|
|
|
|
<div class="flex justify-between mb-6 md:items-end flex-col md:flex-row">
|
|
|
|
<div>
|
|
|
|
<div>
|
|
|
|
<h1 class="text-3xl font-bold md:block <%= 'hidden' if params[:q].present? %>">Submissions <span class="badge badge-outline badge-lg align-middle">Archived</span></h1>
|
|
|
|
<h1 class="text-3xl font-bold md:block">Submissions <span class="badge badge-outline badge-lg align-middle">Archived</span></h1>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="flex space-x-2 mt-3 md:mt-0">
|
|
|
|
<div class="flex space-x-2 mt-3 md:mt-0 justify-end">
|
|
|
|
<% if params[:q].present? || @pagy.pages > 1 %>
|
|
|
|
|
|
|
|
<%= render 'shared/search_input' %>
|
|
|
|
<%= render 'shared/search_input' %>
|
|
|
|
<% end %>
|
|
|
|
|
|
|
|
<%= link_to new_template_submissions_export_path(@template), class: 'order-3 md:order-1 btn btn-ghost text-base', data: { turbo_frame: 'modal' } do %>
|
|
|
|
<%= link_to new_template_submissions_export_path(@template), class: 'order-3 md:order-1 btn btn-ghost text-base', data: { turbo_frame: 'modal' } do %>
|
|
|
|
<%= svg_icon('download', class: 'w-6 h-6 stroke-2') %>
|
|
|
|
<%= svg_icon('download', class: 'w-6 h-6 stroke-2') %>
|
|
|
|
<span>Export</span>
|
|
|
|
<span>Export</span>
|
|
|
|
|