diff --git a/app/views/templates/show.html.erb b/app/views/templates/show.html.erb index 1adefed3..1cc8dd7f 100644 --- a/app/views/templates/show.html.erb +++ b/app/views/templates/show.html.erb @@ -15,7 +15,7 @@ <%= render 'shared/clipboard_copy', text: start_form_url(slug: @template.slug), class: 'base-button', icon_class: 'w-6 h-6 text-white', copy_title: 'Copy Share Link', copied_title: 'Copied to Clipboard', copy_title_md: 'Copy', copied_title_md: 'Copied' %> <% end %> - <% if (!@pagy.count.zero? || params[:q].present?) && !@template.deleted_at? && can?(:create, Submission) %> + <% if !@template.deleted_at? && can?(:create, Submission) %> <%= link_to new_template_submission_path(@template), class: 'order-1 btn btn-primary text-base', data: { turbo_frame: 'modal' } do %> <%= svg_icon('plus', class: 'w-6 h-6 stroke-2') %> Add Recipients @@ -48,8 +48,8 @@
There are no Submissions
<% if @template.deleted_at.blank? && params[:q].blank? %> -Send an invitation to fill and complete the form
-Send an invitation to fill and complete the form
+