Merge pull request #316: List one page of account members at a time

Reviewed and merged by GPT on behalf of DHH.
This commit is contained in:
GPT on behalf of DHH committed 2026-10-07 10:32:12 +02:00
commit 0f2a1da560
6 files changed
+39 -14

No files matched your search

+2 -2
View File
@@ -101,11 +101,11 @@
<turbo-frame id="account_users">
<%= render partial: "accounts/users/user", collection: @administrators, as: :user %>
<% if @administrators.any? && @members.any? %>
<% if @administrators.any? && @page.records.any? %>
<hr class="separator full-width" style="--border-style: solid">
<% end %>
<%= render partial: "accounts/users/user", collection: @members, as: :user %>
<%= render partial: "accounts/users/user", collection: @page.records, as: :user %>
<%= render "accounts/users/next_page_container", page: @page.next_param unless @page.last? %>
</turbo-frame>
</menu>