show archived shared templates

This commit is contained in:
Pete Matsyburka
2026-06-24 19:08:15 +03:00
parent 2840359396
commit b2790776ef
8 changed files with 38 additions and 13 deletions
+1 -1
View File
@@ -14,7 +14,7 @@
</div>
<% if @pagy.count.nil? || @pagy.count > 0 %>
<div class="grid gap-4 md:grid-cols-3">
<%= render partial: 'templates/template', collection: @templates %>
<%= render partial: 'templates/template', collection: @templates, locals: { with_folder: true } %>
</div>
<% elsif params[:q].present? %>
<div class="text-center">