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.
19 lines
727 B
19 lines
727 B
<% if signed_in? && current_user != true_user && current_account.testing? %>
|
|
<div class="hidden md:flex alert py-1 text-sm font-medium gap-x-2 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') %>
|
|
<span><%= t('testing_environment') %></span>
|
|
</a>
|
|
<span>
|
|
|
|
|
</span>
|
|
<%= button_to testing_account_path, method: :delete, class: 'inline flex' do %>
|
|
<% title = capture do %>
|
|
<span class="link"><%= t('exit') %></span>
|
|
<span>×</span>
|
|
<% end %>
|
|
<%= button_title(title:, disabled_with: t('leave')) %>
|
|
<% end %>
|
|
</div>
|
|
<% end %>
|