adjust search

This commit is contained in:
Pete Matsyburka committed 2026-06-25 09:27:59 +03:00
1 parent 1eaf4e5bab
commit dc1c386d7e
7 files changed
+70 -26

No files matched your search

+1 -1
View File
@@ -30,7 +30,7 @@
<% end %>
</h1>
<div class="flex space-x-2">
<% if params[:q].present? || @pagy.pages > 1 || @template_folders.present? %>
<% if params[:q].present? || @pagy.count.nil? || @pagy.count > 0 || @template_folders.present? %>
<%= render 'shared/search_input' %>
<% end %>
<% if can?(:create, ::Template) %>