remove sign now from archived

This commit is contained in:
Pete Matsyburka
2024-04-20 12:46:31 +03:00
parent f430b4f5a6
commit abbd3e809a
4 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -55,7 +55,7 @@
<% end %>
<% if @submissions.present? %>
<div class="space-y-4">
<%= render partial: 'submission', collection: @submissions %>
<%= render partial: 'submission', collection: @submissions, locals: { template: @template } %>
</div>
<% view_archived_html = capture do %>
<% if @template.submissions.where.not(archived_at: nil).exists? && !@template.archived_at? %>