allow permanent delete submissions in archived templates

This commit is contained in:
Alex Turchyn authored and Pete Matsyburka committed 2026-05-08 15:43:34 +03:00
1 parent d828d79574
commit 04ec2f8260
1 file changed
+1 -1
+1 -1
View File
@@ -75,7 +75,7 @@
<% end %>
<% if @submissions.present? %>
<div class="space-y-4">
<%= render partial: 'submission', collection: @submissions, locals: { template: @template } %>
<%= render partial: 'submission', collection: @submissions, locals: { template: @template, archived: @template.archived_at? } %>
</div>
<% else %>
<div class="card bg-base-200">