mirror of
https://github.com/docusealco/docuseal
synced 2026-11-07 15:22:33 -05:00
Add 'Test mode' switch to the profile dropdown
This commit is contained in:
1 parent
616aced4e4
commit
19b5a07bac
8 files changed
+44
-28
No files matched your search
@@ -2,7 +2,7 @@
|
||||
<%= form_for '', url: testing_account_path, method: current_account.testing? ? :delete : :get, html: { class: 'flex' } do |f| %>
|
||||
<label class="flex items-center justify-between" for="testing_toggle">
|
||||
<span class="mr-2 text-lg">
|
||||
<%= t('test_environment') %>
|
||||
<%= t('test_mode') %>
|
||||
</span>
|
||||
<%= f.check_box :testing_toggle, class: 'toggle', checked: current_account.testing?, onchange: 'this.form.requestSubmit()' %>
|
||||
</label>
|
||||
|
||||
Reference in new issue
Block a user