Checks: no results
This commit is contained in:
parent
7fdafb652b
commit
33567a3abe
|
@ -8,6 +8,7 @@
|
|||
|
||||
<div class="-my-2 overflow-x-auto sm:-mx-6 lg:-mx-8">
|
||||
<div class="py-2 align-middle inline-block min-w-full sm:px-6 lg:px-8">
|
||||
<% if @checks.present? %>
|
||||
<!-- BEGIN Table -->
|
||||
<div class="shadow overflow-hidden border-b border-gray-200 sm:rounded-lg">
|
||||
<table class="min-w-full divide-y divide-gray-200">
|
||||
|
@ -62,7 +63,7 @@
|
|||
</div>
|
||||
<div class="hidden sm:flex-1 sm:flex sm:items-center sm:justify-between">
|
||||
<div>
|
||||
<p class="text-sm text-gray-700">
|
||||
<p class="text-sm text-gray-700 ">
|
||||
Showing
|
||||
<span class="font-medium"><%= @checks.offset_value + 1 %></span>
|
||||
to
|
||||
|
@ -75,7 +76,11 @@
|
|||
<%= paginate @checks %>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<% else %>
|
||||
<div class="block w-full border-2 border-gray-300 border-dashed rounded-lg p-6 text-center">
|
||||
<p class="italic ">No results</p>
|
||||
</div>
|
||||
<% end %>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Reference in New Issue