Retrospring/app/views/user/show_follow.html.haml

17 lines
645 B
Plaintext
Raw Normal View History

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
- if @type === :follower
= button_to show_user_followers_path(@user, last_id: @relationships_last_id), class: "btn btn-light" do
= t("voc.load")
- else
= button_to show_user_followings_path(@user, last_id: @relationships_last_id), class: "btn btn-light" do
= t("voc.load")
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'