add dynamic documents

This commit is contained in:
Pete Matsyburka committed 2026-03-04 10:13:30 +02:00
1 parent b50d982497
commit 37196ff89f
65 files changed
+4372 -485

No files matched your search

+1 -1
View File
@@ -94,7 +94,7 @@
<span class="mr-1"><%= t('send_to_recipients') %></span>
<% end %>
<% end %>
<% if Templates.filter_undefined_submitters(@template.submitters).size == 1 %>
<% if Templates.filter_undefined_submitters(@template.submitters).size == 1 && @template.variables_schema.blank? %>
<%= 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>