adjust send email views

This commit is contained in:
Pete Matsyburka
2024-04-07 17:12:46 +03:00
parent 87345a3b3d
commit cda349d71c
11 changed files with 22 additions and 15 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
<%= render 'title', template: @template %>
<% is_show_tabs = @pagy.pages > 1 || params[:status].present? %>
<% if !@pagy.count.zero? || params[:q].present? %>
<% if !@pagy.count.zero? || params[:q].present? || params[:status].present? %>
<div class="<%= is_show_tabs ? 'mb-4' : 'mb-6' %>">
<div class="flex justify-between items-center md:items-end">
<p class="text-3xl font-bold">Submissions</p>