13 lines
480 B
Plaintext
13 lines
480 B
Plaintext
= turbo_stream.append "users" do
|
|
- @users.each do |user|
|
|
.col.pb-3
|
|
= render "shared/userbox", user:, type:, own_followings:, own_blocks:
|
|
|
|
= turbo_stream.update "paginator" do
|
|
- if @more_data_available
|
|
= button_to t("voc.load"), type == :follower ? show_user_followers_path(@user) : show_user_followings_path(@user),
|
|
class: "btn btn-light",
|
|
method: :get,
|
|
params: { last_id: @relationships_last_id },
|
|
form: { data: { turbo_stream: true } }
|