|
|
|
|
@ -4,7 +4,7 @@
|
|
|
|
|
</p>
|
|
|
|
|
<% if can?(:update, @template) %>
|
|
|
|
|
<toggle-submit class="block">
|
|
|
|
|
<%= button_to button_title(title: t('enable_shared_link'), icon: svg_icon('lock_open', class: 'w-6 h-6')), template_share_link_path(@template), params: { template: { shared_link: true }, redir: template_share_link_qr_path(@template) }, method: :post, data: { turbo: false }, class: 'white-button w-full' %>
|
|
|
|
|
<%= button_to button_title(title: t('enable_shared_link'), icon: svg_icon('lock_open', class: 'w-6 h-6')), template_share_link_path(@template), params: { template: { shared_link: true }, redir: template_share_link_qr_path(@template) }, method: :post, data: { turbo: false }, class: 'base-button w-full' %>
|
|
|
|
|
</toggle-submit>
|
|
|
|
|
<% end %>
|
|
|
|
|
</div>
|
|
|
|
|
|