mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-01-19 16:06:03 +01:00
abf78d4f49
Suggestions from @pixeldesu's review Co-authored-by: Andreas Nedbal <andy@pixelde.su>
13 lines
489 B
Text
13 lines
489 B
Text
#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
|
|
.d-flex.justify-content-center.justify-content-sm-start
|
|
%button.btn.btn-light#load-more-btn{ type: :button, data: { last_id: @questions_last_id } }
|
|
= t 'views.actions.load'
|
|
|
|
- provide(:title, questions_title(@user))
|
|
- parent_layout 'user/profile'
|