open self sign form in the app

This commit is contained in:
Alex Turchyn authored and Pete Matsyburka committed 2026-09-23 10:59:54 +03:00
1 parent c0dd4b85ed
commit 5f5b49a1ba
2 files changed
+3 -3

No files matched your search

+2 -2
View File
@@ -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}`"
+1 -1
View File
@@ -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 %>