mirror of
https://github.com/docusealco/docuseal
synced 2026-11-16 16:12:32 -05:00
declare search for native app
This commit is contained in:
1 parent
2b9e5a86b6
commit
359f695eb5
9 files changed
+133
-102
No files matched your search
@@ -7,16 +7,16 @@
|
||||
<% end %>
|
||||
</div>
|
||||
<% end %>
|
||||
<% unless turbo_native_app? %>
|
||||
<div class="group/header flex justify-between mb-4 items-center">
|
||||
<div class="group/header flex justify-between items-center <%= 'mb-4' unless turbo_native_app? %>">
|
||||
<% unless turbo_native_app? %>
|
||||
<div class="max-md:group-has-[search-input:focus-within]/header:hidden">
|
||||
<h1 class="text-2xl md:text-3xl font-bold md:block <%= 'hidden' if params[:q].present? %>"><%= t('document_templates_html') %> <span class="badge badge-outline badge-lg align-middle"><%= t('archived') %></span></h1>
|
||||
</div>
|
||||
<% if params[:q].present? || @pagy.pages > 1 %>
|
||||
<%= render 'shared/search_input', placeholder: "#{t('search')}..." %>
|
||||
<% end %>
|
||||
</div>
|
||||
<% end %>
|
||||
<% end %>
|
||||
<% if params[:q].present? || @pagy.pages > 1 %>
|
||||
<%= render 'shared/search_input', placeholder: "#{t('search')}..." %>
|
||||
<% end %>
|
||||
</div>
|
||||
<% if @pagy.count.nil? || @pagy.count > 0 %>
|
||||
<div class="grid gap-4 md:grid-cols-3">
|
||||
<%= render partial: 'templates/template', collection: @templates, locals: { with_folder: true } %>
|
||||
|
||||
Reference in new issue
Block a user