|  |  |  | @ -18,7 +18,9 @@ | 
			
		
	
		
			
				
					|  |  |  |  |     </div> | 
			
		
	
		
			
				
					|  |  |  |  |     <div> | 
			
		
	
		
			
				
					|  |  |  |  |       <% if (Docuseal.multitenant? || Accounts.can_send_emails?(@submitter.account)) && @submitter.email.present? %> | 
			
		
	
		
			
				
					|  |  |  |  |         <%= button_to button_title(title: t('send_copy_to_email'), disabled_with: t('sending'), icon: svg_icon('mail_forward', class: 'w-6 h-6')), send_submission_email_index_path, params: { submitter_slug: @submitter.slug }, form: { onsubmit: 'event.submitter.disabled = true' }, class: 'white-button w-full' %> | 
			
		
	
		
			
				
					|  |  |  |  |         <toggle-submit> | 
			
		
	
		
			
				
					|  |  |  |  |           <%= button_to button_title(title: t('send_copy_to_email'), disabled_with: t('sending'), icon: svg_icon('mail_forward', class: 'w-6 h-6')), send_submission_email_index_path, params: { submitter_slug: @submitter.slug }, class: 'white-button w-full' %> | 
			
		
	
		
			
				
					|  |  |  |  |         </toggle-submit> | 
			
		
	
		
			
				
					|  |  |  |  |         <% if @submitter.submission.template.submitters.size != 1 %> | 
			
		
	
		
			
				
					|  |  |  |  |           <div class="divider uppercase"><%= t('or') %></div> | 
			
		
	
		
			
				
					|  |  |  |  |         <% else %> | 
			
		
	
	
		
			
				
					|  |  |  | @ -40,9 +42,9 @@ | 
			
		
	
		
			
				
					|  |  |  |  |     </div> | 
			
		
	
		
			
				
					|  |  |  |  |     <% if @submitter.submission.template.submitters.size == 1 && %w[api embed].exclude?(@submitter.submission.source) && @submitter.account.account_configs.find_or_initialize_by(key: AccountConfig::ALLOW_TO_RESUBMIT).value != false && !@submitter.template.archived_at? %> | 
			
		
	
		
			
				
					|  |  |  |  |       <div class="divider uppercase"><%= t('or') %></div> | 
			
		
	
		
			
				
					|  |  |  |  |       <div> | 
			
		
	
		
			
				
					|  |  |  |  |         <%= button_to button_title(title: t('resubmit'), disabled_with: t('resubmit'), icon: svg_icon('reload', class: 'w-6 h-6')), start_form_path(@submitter.submission.template.slug), params: { submitter: { email: @submitter.email, phone: @submitter.phone, name: @submitter.name }, resubmit: @submitter.slug }, method: :put, form: { onsubmit: 'event.submitter.disabled = true' }, class: 'white-button w-full' %> | 
			
		
	
		
			
				
					|  |  |  |  |       </div> | 
			
		
	
		
			
				
					|  |  |  |  |       <toggle-submit class="block"> | 
			
		
	
		
			
				
					|  |  |  |  |         <%= button_to button_title(title: t('resubmit'), disabled_with: t('resubmit'), icon: svg_icon('reload', class: 'w-6 h-6')), start_form_path(@submitter.submission.template.slug), params: { submitter: { email: @submitter.email, phone: @submitter.phone, name: @submitter.name }, resubmit: @submitter.slug }, method: :put, class: 'white-button w-full' %> | 
			
		
	
		
			
				
					|  |  |  |  |       </toggle-submit> | 
			
		
	
		
			
				
					|  |  |  |  |     <% end %> | 
			
		
	
		
			
				
					|  |  |  |  |   </div> | 
			
		
	
		
			
				
					|  |  |  |  | </div> | 
			
		
	
	
		
			
				
					|  |  |  | 
 |