mirror of https://github.com/docusealco/docuseal
				
				
				
			
			You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							15 lines
						
					
					
						
							856 B
						
					
					
				
			
		
		
	
	
							15 lines
						
					
					
						
							856 B
						
					
					
				| <% if @email_config || @body.present? %>
 | |
|   <%= auto_link(simple_format(h(ReplaceEmailVariables.call(@body.presence || @email_config.value['body'], submitter: @submitter)))) %>
 | |
|   <% if !(@body.presence || @email_config.value['body']).include?(ReplaceEmailVariables::SUBMITTER_LINK) %>
 | |
|     <p><%= link_to nil, submit_form_url(slug: @submitter.slug, t: SubmissionEvents.build_tracking_param(@submitter, 'click_email')) %></p>
 | |
|   <% end %>
 | |
| <% else %>
 | |
|   <p>Hi there,</p>
 | |
|   <p>You have been invited to submit the "<%= @submitter.submission.template.name %>" form.</p>
 | |
|   <p><%= link_to 'Submit Form', submit_form_url(slug: @submitter.slug, t: SubmissionEvents.build_tracking_param(@submitter, 'click_email')) %></p>
 | |
|   <p>Please contact us by replying to this email if you didn't request this.</p>
 | |
|   <p>
 | |
|     Thanks,<br><%= @current_account.name %>
 | |
|   </p>
 | |
| <% end %>
 |