diff --git a/app/views/templates/show.html.erb b/app/views/templates/show.html.erb index 508b8a23..6f3f37f1 100644 --- a/app/views/templates/show.html.erb +++ b/app/views/templates/show.html.erb @@ -75,7 +75,7 @@ <% end %> <% if @submissions.present? %>
- <%= render partial: 'submission', collection: @submissions, locals: { template: @template } %> + <%= render partial: 'submission', collection: @submissions, locals: { template: @template, archived: @template.archived_at? } %>
<% else %>