mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-02-01 06:09:07 +01:00
ee947f2428
Fixes #107
14 lines
463 B
Text
14 lines
463 B
Text
- unless @user.banned?
|
|
#answers
|
|
- @answers.each do |a|
|
|
= render 'answerbox', a: a
|
|
|
|
= render 'shared/cursored_pagination_dummy', more_data_available: @more_data_available, last_id: @answers_last_id
|
|
|
|
- if @more_data_available
|
|
.d-flex.justify-content-center
|
|
%button.btn.btn-light#load-more-btn{ type: :button, data: { last_id: @answers_last_id } }
|
|
= t 'views.actions.load'
|
|
|
|
- provide(:title, user_title(@user))
|
|
- parent_layout 'user/profile'
|