adjust email templates

This commit is contained in:
Alex Turchyn
2023-06-26 00:46:01 +03:00
parent 43b32d05cb
commit d53fa5613b
35 changed files with 160 additions and 57 deletions
@@ -0,0 +1,13 @@
<p>Hi there,</p>
<p>Please check the copy of your "<%= @submitter.submission.template.name %>" submission in the email attachments.</p>
<p>Alternatively, you can download the copy using:</p>
<% @documents.each do |document| %>
<ul>
<li>
<%= link_to document.filename.to_s, rails_blob_url(document) %>
</li>
</ul>
<% end %>
<p>
Thanks,<br><%= @submitter.submission.template.account.name %>
</p>