2020-04-25 08:21:39 -07:00
|
|
|
#questions
|
|
|
|
- @questions.each do |q|
|
|
|
|
= render 'shared/question', q: q, type: nil
|
|
|
|
|
|
|
|
= render 'shared/cursored_pagination_dummy', more_data_available: @more_data_available, last_id: @questions_last_id
|
|
|
|
|
|
|
|
- if @more_data_available
|
2020-05-29 14:00:25 -07:00
|
|
|
.d-flex.justify-content-center.justify-content-sm-start
|
2020-05-29 11:37:47 -07:00
|
|
|
%button.btn.btn-light#load-more-btn{ type: :button, data: { last_id: @questions_last_id } }
|
|
|
|
= t 'views.actions.load'
|
2020-04-25 08:21:39 -07:00
|
|
|
|
|
|
|
- provide(:title, questions_title(@user))
|
2020-05-10 00:08:58 -07:00
|
|
|
- parent_layout 'user/profile'
|