<% if @template.archived_at.blank? && params[:q].blank? && filter_params.blank? %>
<%= t('send_an_invitation_to_fill_and_complete_the_form') %>
<% if can?(:create, Submission) %>
<%= link_to template_quick_send_path(@template), id: 'quick_send_button', class: 'base-button mt-6', data: { turbo_frame: 'modal' } do %>
<%= svg_icon('send', class: 'w-6 h-6 stroke-2') %>
<%= t('quick_send') %>
<% end %>
<%= link_to new_template_submission_path(@template, with_link: true), id: 'send_to_recipients_button', class: 'white-button w-full', data: { turbo_frame: 'modal' } do %>
<%= svg_icon('plus', class: 'w-6 h-6 stroke-2') %>
<%= t('send_to_recipients') %>
<% end %>
<% end %>
<% 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') %>
<%= t('sign_it_yourself') %>
<% end %>
<% else %>
<%= link_to new_template_submission_path(@template, selfsign: true), id: 'sign_yourself_button', class: 'white-button mt-6', data: { turbo_frame: 'modal' } do %>
<%= svg_icon('writing', class: 'w-6 h-6') %>
<%= t('sign_it_yourself') %>
<% end %>
<% end %>