mirror of
https://github.com/docusealco/docuseal
synced 2026-11-05 06:42:32 -05:00
tenants test flag
This commit is contained in:
1 parent
ced5ab67ab
commit
a036483938
3 files changed
+5
-3
No files matched your search
@@ -26,7 +26,7 @@
|
||||
<%= t('share_template_with_test_mode') %>
|
||||
</span>
|
||||
<submit-form data-on="change">
|
||||
<%= f.check_box :value, class: 'toggle', checked: @template.template_sharings.exists?(account_id: true_user.account.testing_accounts) %>
|
||||
<%= f.check_box :value, class: 'toggle', checked: @template.template_sharings.exists?(account_id: (can?(:manage, :tenants_test) ? current_account : true_user.account).testing_accounts) %>
|
||||
</submit-form>
|
||||
</div>
|
||||
<% end %>
|
||||
|
||||
Reference in new issue
Block a user