add infinite scroll

This commit is contained in:
Pete Matsyburka committed 2026-09-23 10:59:54 +03:00
1 parent d3cc2e1ca8
commit 8cb0a7a020
21 files changed
+179 -10

No files matched your search

+1
View File
@@ -89,6 +89,7 @@
<% if @submissions.present? %>
<div class="space-y-4">
<%= render partial: 'submission', collection: @submissions, locals: { template: @template, archived: @template.archived_at? } %>
<%= render 'shared/infinite_scroll', pagy: @pagy if turbo_native_app? %>
</div>
<% else %>
<div class="card bg-base-200">