13 lines
429 B
Plaintext
13 lines
429 B
Plaintext
#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
|
|
%button.btn.btn-default#load-more-btn{ type: :button, data: { last_id: @questions_last_id } }
|
|
= t 'views.actions.load'
|
|
|
|
- provide(:title, questions_title(@user))
|
|
- parent_layout 'user/profile'
|