share template only hosted

This commit is contained in:
Pete Matsyburka
2024-02-26 17:38:50 +02:00
parent 57c7dc1b5e
commit f83674b934
2 changed files with 8 additions and 4 deletions
+1 -1
View File
@@ -18,7 +18,7 @@
</div>
</div>
<%= render 'templates/embedding', template: @template %>
<% if can?(:manage, TemplateSharing.new(template: @template)) %>
<% if can?(:manage, TemplateSharing.new(template: @template)) && !Docuseal.multitenant? %>
<%= form_for '', url: template_sharings_testing_index_path, method: :post, html: { class: 'mt-1' } do |f| %>
<%= f.hidden_field :template_id, value: @template.id %>
<div class="flex items-center justify-between">