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.
18 lines
669 B
18 lines
669 B
<% if signed_in? && current_user != true_user && current_account.testing? %>
|
|
<div class="alert py-1 text-sm font-medium gap-x-2 flex whitespace-nowrap">
|
|
<a href="<%= testing_api_settings_path %>" data-turbo-frame="modal" class="link font-semibold flex">
|
|
<%= svg_icon('code_circle', class: 'w-5 h-5 mr-1') %>Testing Environment
|
|
</a>
|
|
<span>
|
|
|
|
|
</span>
|
|
<%= button_to testing_account_path, method: :delete, class: 'inline flex' do %>
|
|
<% title = capture do %>
|
|
<span class="link">Exit</span>
|
|
<span>×</span>
|
|
<% end %>
|
|
<%= button_title(title:, disabled_with: 'Leave') %>
|
|
<% end %>
|
|
</div>
|
|
<% end %>
|