From 22be3b37cf23deab892a2684de9b030ae2e53bfb Mon Sep 17 00:00:00 2001 From: Pete Matsyburka Date: Thu, 12 Sep 2024 21:26:48 +0300 Subject: [PATCH] fix complete page --- app/views/submit_form/completed.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/submit_form/completed.html.erb b/app/views/submit_form/completed.html.erb index 13f84382..e54b66d2 100644 --- a/app/views/submit_form/completed.html.erb +++ b/app/views/submit_form/completed.html.erb @@ -21,7 +21,7 @@ <%= button_to button_title(title: t('send_copy_to_email'), disabled_with: t('sending'), icon: svg_icon('mail_forward', class: 'w-6 h-6')), send_submission_email_index_path, params: { submitter_slug: @submitter.slug }, class: 'white-button w-full' %> - <% if @submitter.submission.template.submitters.size != 1 %> + <% if Templates.filter_undefined_submitters(@submitter.submission.template).size != 1 %>
<%= t('or') %>
<% else %>