diff --git a/app/views/templates_share_link/show.html.erb b/app/views/templates_share_link/show.html.erb index e6b48f4c..0b948c71 100644 --- a/app/views/templates_share_link/show.html.erb +++ b/app/views/templates_share_link/show.html.erb @@ -25,9 +25,11 @@
- - <%= svg_icon('qrcode', class: 'w-6 h-6') %> - + <% if @template.variables_schema.blank? && !@template.preferences&.dig('require_email_2fa') && !@template.preferences&.dig('require_phone_2fa') %> + + <%= svg_icon('qrcode', class: 'w-6 h-6') %> + + <% end %>
<%= render 'shared/clipboard_copy', icon: 'copy', text: start_form_url(slug: @template.slug, host: form_link_host), class: 'base-button', icon_class: 'w-6 h-6 text-white', copy_title: t('copy'), copied_title: t('copied') %>