Retrospring/app/views/user/show_follow.haml

14 lines
497 B
Plaintext
Raw Normal View History

2020-05-10 00:08:58 -07:00
.row.row-cols-1.row-cols-sm-2.row-cols-md-3#users
2020-04-25 08:21:39 -07:00
- @users.each do |user|
2020-05-01 09:38:29 -07:00
.col
2020-05-10 01:02:04 -07:00
= render 'shared/userbox', user: user, type: @type
2020-04-25 08:21:39 -07:00
= render 'shared/cursored_pagination_dummy', more_data_available: @more_data_available, last_id: @users_last_id
- if @more_data_available
2020-05-10 00:08:58 -07:00
%button.btn.btn-default#load-more-btn{ type: :button, data: { last_id: @users_last_id } }
2020-04-25 08:21:39 -07:00
= t 'views.actions.load'
2020-05-10 00:08:58 -07:00
- provide(:title, user_title(@user, 'friends and followers'))
- parent_layout 'user/profile'