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.
		
		
		
		
		
			
		
			
				
					
					
						
							11 lines
						
					
					
						
							552 B
						
					
					
				
			
		
		
	
	
							11 lines
						
					
					
						
							552 B
						
					
					
				<% if can?(:manage, EncryptedConfig) || (current_user != true_user && current_account.testing?) %>
 | 
						|
  <%= form_for '', url: testing_account_path, method: current_account.testing? ? :delete : :get, html: { class: 'flex' } do |f| %>
 | 
						|
    <label class="flex items-center justify-between py-2.5" for="testing_toggle">
 | 
						|
      <span class="mr-2 text-lg">
 | 
						|
        Test Environment
 | 
						|
      </span>
 | 
						|
      <%= f.check_box :testing_toggle, class: 'toggle', checked: current_account.testing?, onchange: 'this.form.requestSubmit()' %>
 | 
						|
    </label>
 | 
						|
  <% end %>
 | 
						|
<% end %>
 |