2023-08-20 00:10:54 +03:00
|
|
|
<% if @email_config %>
|
2024-02-25 02:00:18 +02:00
|
|
|
<%= auto_link(simple_format(h(ReplaceEmailVariables.call(@email_config.value['body'], submitter: @submitter, sig: @sig)))) %>
|
2023-08-20 00:10:54 +03:00
|
|
|
<% else %>
|
|
|
|
|
<p>Hi there,</p>
|
|
|
|
|
<p>Please check the copy of your "<%= @submitter.submission.template.name %>" submission in the email attachments.</p>
|
2023-11-20 00:52:05 +02:00
|
|
|
<p>Alternatively, you can review and download your copy using:</p>
|
|
|
|
|
<p>
|
2024-02-25 02:00:18 +02:00
|
|
|
<%= link_to @submitter.template.name, submissions_preview_url(@submitter.submission.slug, { sig: @sig }.compact) %>
|
2023-11-20 00:52:05 +02:00
|
|
|
</p>
|
2023-08-20 00:10:54 +03:00
|
|
|
<p>
|
|
|
|
|
Thanks,<br><%= @current_account.name %>
|
|
|
|
|
</p>
|
2023-06-26 00:46:01 +03:00
|
|
|
<% end %>
|