remove sign now from archived

This commit is contained in:
Pete Matsyburka committed 2024-04-20 12:54:14 +03:00
1 parent f430b4f5a6
commit abbd3e809a
4 files changed
+7 -7

No files matched your search

+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? %>