mirror of
https://github.com/docusealco/docuseal
synced 2026-11-04 06:42:32 -05:00
open self sign form in the app
This commit is contained in:
1 parent
c0dd4b85ed
commit
5f5b49a1ba
2 files changed
+3
-3
No files matched your search
@@ -121,8 +121,8 @@
|
||||
data-icon="writing"
|
||||
>
|
||||
<form
|
||||
target="_blank"
|
||||
data-turbo="false"
|
||||
:target="nativeApp ? null : '_blank'"
|
||||
:data-turbo="nativeApp ? null : 'false'"
|
||||
class="inline"
|
||||
method="post"
|
||||
:action="`/start_form_self/${template.id}`"
|
||||
|
||||
@@ -110,7 +110,7 @@
|
||||
</open-modal-mobile>
|
||||
<% end %>
|
||||
<% if Templates.filter_undefined_submitters(@template.submitters).size == 1 && @template.variables_schema.blank? %>
|
||||
<%= button_to start_form_self_path(@template), method: :put, class: 'white-button w-full', form: { style: 'display: inline', target: '_blank', data: { turbo: false } } do %>
|
||||
<%= button_to start_form_self_path(@template), method: :put, class: 'white-button w-full', form: { style: 'display: inline', target: turbo_native_app? ? nil : '_blank', data: { turbo: turbo_native_app? ? nil : false } } do %>
|
||||
<%= svg_icon('writing', class: 'w-6 h-6') %>
|
||||
<span class="mr-1"><%= t('sign_it_yourself') %></span>
|
||||
<% end %>
|
||||
|
||||
Reference in new issue
Block a user