2024-05-18 20:21:46 +03:00
|
|
|
<% if @body.present? %>
|
|
|
|
|
<%= render 'custom_content', content: @body, submitter: @submitter, sig: @sig %>
|
2023-08-20 00:10:54 +03:00
|
|
|
<% else %>
|
2024-09-21 12:10:08 +03:00
|
|
|
<p><%= t('hi_there') %>,</p>
|
2026-06-23 08:48:49 +03:00
|
|
|
<p><%= t('please_check_the_copy_of_your_name_in_the_email_attachments', name: @submitter.submission.name || @submitter.submission.template&.name) %>
|
2024-09-21 12:10:08 +03:00
|
|
|
<p><%= t('alternatively_you_can_review_and_download_your_copy_using_the_link_below') %></p>
|
2023-11-20 00:52:05 +02:00
|
|
|
<p>
|
2026-06-23 08:48:49 +03:00
|
|
|
<%= link_to @submitter.submission.name || @submitter.submission.template&.name, submissions_preview_url(@submitter.submission.slug, { sig: @sig, host: @custom_domain || ENV.fetch('EMAIL_HOST', Docuseal.default_url_options[:host]) }.compact) %>
|
2023-11-20 00:52:05 +02:00
|
|
|
</p>
|
2023-08-20 00:10:54 +03:00
|
|
|
<p>
|
2024-09-21 12:10:08 +03:00
|
|
|
<%= t('thanks') %>,<br><%= @current_account.name %>
|
2023-08-20 00:10:54 +03:00
|
|
|
</p>
|
2023-06-26 00:46:01 +03:00
|
|
|
<% end %>
|