mirror of https://github.com/docusealco/docuseal
parent
8e6639d891
commit
6b4e7c2264
@ -1,3 +1,7 @@
|
|||||||
<p>Hi <%= @user.first_name %>,</p>
|
<% if @email_config %>
|
||||||
<p><%= @submitter.email %> has completed the "<%= @submitter.submission.template.name %>" form.</p>
|
<%= auto_link(simple_format(h(ReplaceEmailVariables.call(@email_config.value['body'], submitter: @submitter)))) %>
|
||||||
<p><%= link_to 'View Submission', submission_url(@submitter.submission) %></p>
|
<% else %>
|
||||||
|
<p>Hi <%= @user.first_name %>,</p>
|
||||||
|
<p><%= @submitter.email %> has completed the "<%= @submitter.submission.template.name %>" form.</p>
|
||||||
|
<p><%= link_to 'View Submission', submission_url(@submitter.submission) %></p>
|
||||||
|
<% end %>
|
||||||
|
|||||||
@ -1,13 +1,17 @@
|
|||||||
<p>Hi there,</p>
|
<% if @email_config %>
|
||||||
<p>Please check the copy of your "<%= @submitter.submission.template.name %>" submission in the email attachments.</p>
|
<%= auto_link(simple_format(h(ReplaceEmailVariables.call(@email_config.value['body'], submitter: @submitter)))) %>
|
||||||
<p>Alternatively, you can download the copy using:</p>
|
<% else %>
|
||||||
<% @documents.each do |document| %>
|
<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>
|
<ul>
|
||||||
<li>
|
<li>
|
||||||
<%= link_to document.filename.to_s, rails_blob_url(document) %>
|
<%= link_to document.filename.to_s, rails_blob_url(document) %>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
<% end %>
|
<% end %>
|
||||||
<p>
|
<p>
|
||||||
Thanks,<br><%= @current_account.name %>
|
Thanks,<br><%= @current_account.name %>
|
||||||
</p>
|
</p>
|
||||||
|
<% end %>
|
||||||
|
|||||||
Loading…
Reference in new issue