fulltext search

This commit is contained in:
Pete Matsyburka committed 2025-06-06 16:03:16 +03:00
1 parent 9d1860f038
commit 33811945be
36 files changed
+682 -25

No files matched your search

+1 -1
View File
@@ -113,7 +113,7 @@
</div>
<% end %>
<% view_archived_html = capture do %>
<% if @template.submissions.where.not(archived_at: nil).exists? && !@template.archived_at? %>
<% if (can?(:manage, :countless) || @template.submissions.where.not(archived_at: nil).exists?) && !@template.archived_at? %>
<div>
<a href="<%= template_archived_index_path(@template) %>" class="link text-sm"><%= t('view_archived') %></a>
</div>