Retrospring/app/views/user/show_follow.haml

15 lines
578 B
Plaintext

.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
= render 'shared/cursored_pagination_dummy', more_data_available: @more_data_available, last_id: @relationships_last_id
- if @more_data_available
.d-flex.justify-content-center.justify-content-sm-start
%button.btn.btn-light#load-more-btn{ type: :button, data: { last_id: @relationships_last_id } }
= t 'views.actions.load'
- provide(:title, user_title(@user, 'friends and followers'))
- parent_layout 'user/profile'