add mobile filters

This commit is contained in:
Alex Turchyn
2026-07-24 17:48:45 +03:00
committed by Pete Matsyburka
parent 3edd1ab32d
commit 270461ad3b
10 changed files with 142 additions and 86 deletions
@@ -18,12 +18,12 @@
<% end %>
</div>
</div>
<div class="flex flex-wrap justify-end items-center gap-2">
<div class="flex flex-nowrap md:flex-wrap justify-end items-center gap-2">
<%= render 'submissions_filters/applied_filters', filter_params: %>
<div class="shrink-0 md:order-first">
<%= link_to new_template_submissions_export_path(@template, archived: true), class: 'btn btn-ghost text-base h-10 min-h-10', data: { turbo_frame: 'modal' } do %>
<%= svg_icon('download', class: 'w-6 h-6 stroke-2') %>
<span><%= t('export') %></span>
<span class="hidden md:inline"><%= t('export') %></span>
<% end %>
</div>
<%= render 'submissions_filters/filter_button', filter_params: %>