mirror of
https://github.com/docusealco/docuseal
synced 2026-11-05 14:42:33 -05:00
use post for test mode
This commit is contained in:
1 parent
3fca76a716
commit
d96d252df3
5 files changed
+5
-5
No files matched your search
@@ -1,5 +1,5 @@
|
||||
<% 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| %>
|
||||
<%= form_for '', url: testing_account_path, method: current_account.testing? ? :delete : :post, html: { class: 'flex' } do |f| %>
|
||||
<label class="flex items-center justify-between" for="testing_toggle">
|
||||
<span class="mr-2 text-lg">
|
||||
<%= t('test_mode') %>
|
||||
|
||||
Reference in new issue
Block a user