add via link recipients tab

This commit is contained in:
Pete Matsyburka
2024-01-13 17:43:34 +02:00
parent 66ab0059bb
commit 8627f58cbc
4 changed files with 195 additions and 3 deletions
+1 -1
View File
@@ -78,7 +78,7 @@
<p>Send an invitation to fill and complete the form</p>
<div class="space-y-2 flex flex-col">
<% if can?(:create, Submission) %>
<%= link_to new_template_submission_path(@template), class: 'base-button mt-6', data: { turbo_frame: 'modal' } do %>
<%= link_to new_template_submission_path(@template, with_link: true), class: 'base-button mt-6', data: { turbo_frame: 'modal' } do %>
<%= svg_icon('plus', class: 'w-6 h-6 stroke-2') %>
<span class="mr-1">Send to Recipients</span>
<% end %>