2022-09-07 15:48:01 -07:00
|
|
|
.row.row-cols-1.row-cols-sm-2.row-cols-md-3#users
|
|
|
|
- @users.each do |user|
|
|
|
|
.col.pb-3
|
|
|
|
= render 'shared/userbox', user: user, type: @type
|
2020-04-25 08:21:39 -07:00
|
|
|
|
2022-09-07 15:48:01 -07:00
|
|
|
- if @more_data_available
|
|
|
|
.d-flex.justify-content-center.justify-content-sm-start#paginator
|
2023-01-21 10:53:27 -08:00
|
|
|
= 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 } }
|
2020-04-25 08:21:39 -07:00
|
|
|
|
2020-05-10 00:08:58 -07:00
|
|
|
- provide(:title, user_title(@user, 'friends and followers'))
|
|
|
|
- parent_layout 'user/profile'
|