add documents copy email to template preferences

This commit is contained in:
Pete Matsyburka
2024-05-18 20:21:46 +03:00
parent 2df05f0327
commit 72b7391245
4 changed files with 84 additions and 31 deletions
@@ -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>