2022-09-07 14:21:18 -07:00
|
|
|
= turbo_stream.append "users" do
|
|
|
|
- @users.each do |user|
|
|
|
|
.col.pb-3
|
2023-01-31 04:46:09 -08:00
|
|
|
= render "shared/userbox", user:, type:, own_followings:, own_blocks:
|
2022-09-07 14:21:18 -07:00
|
|
|
|
|
|
|
= turbo_stream.update "paginator" do
|
|
|
|
- if @more_data_available
|
2023-01-28 10:02:13 -08:00
|
|
|
= button_to t("voc.load"), type == :follower ? show_user_followers_path(@user) : show_user_followings_path(@user),
|
2023-01-21 10:53:27 -08:00
|
|
|
class: "btn btn-light",
|
|
|
|
method: :get,
|
|
|
|
params: { last_id: @relationships_last_id },
|
|
|
|
form: { data: { turbo_stream: true } }
|