add documents copy email to template preferences

This commit is contained in:
Pete Matsyburka committed 2024-05-18 22:03:20 +03:00
1 parent 2df05f0327
commit 72b7391245
4 files changed
+84 -31

No files matched your search

@@ -1,5 +1,5 @@
<% if @email_config %>
<%= render 'custom_content', content: @email_config.value['body'], submitter: @submitter, sig: @sig %>
<% if @body.present? %>
<%= render 'custom_content', content: @body, submitter: @submitter, sig: @sig %>
<% else %>
<p>Hi there,</p>
<p>Please check the copy of your "<%= @submitter.submission.template.name %>" submission in the email attachments.</p>