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.
docuseal/app/views/shared/_test_alert.html.erb

19 lines
717 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('test_mode') %></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>&times;</span>
<% end %>
<%= button_title(title:, disabled_with: t('leave')) %>
<% end %>
</div>
<% end %>