adjsut sign yourself

This commit is contained in:
Pete Matsyburka
2026-02-21 10:17:58 +02:00
parent 231fff5508
commit 5073f2eefb
2 changed files with 12 additions and 2 deletions
+1 -1
View File
@@ -94,7 +94,7 @@
<span class="mr-1"><%= t('send_to_recipients') %></span>
<% end %>
<% end %>
<% if @template.submitters.size == 1 %>
<% if Templates.filter_undefined_submitters(@template.submitters).size == 1 %>
<%= button_to start_form_path(@template.slug), params: { selfsign: true }, method: :put, class: 'white-button w-full', form: { style: 'display: inline', target: '_blank', data: { turbo: false } } do %>
<%= svg_icon('writing', class: 'w-6 h-6') %>
<span class="mr-1"><%= t('sign_it_yourself') %></span>