18 lines
575 B
Plaintext
18 lines
575 B
Plaintext
- 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.justify-content-sm-start
|
|
%button.btn.btn-light#load-more-btn{ type: :button, data: { last_id: @answers_last_id } }
|
|
= t 'views.actions.load'
|
|
|
|
:ruby
|
|
provide(:title, user_title(@user))
|
|
provide(:og, user_opengraph(@user))
|
|
provide(:meta, user_twitter_card(@user))
|
|
parent_layout 'user/profile'
|