retrospring/app/views/public/index.haml
2020-05-11 19:38:07 +02:00

12 lines
406 B
Text

#timeline
- @timeline.each do |answer|
= render 'answerbox', a: answer
= render 'shared/cursored_pagination_dummy', more_data_available: @more_data_available, last_id: @timeline_last_id
- if @more_data_available
%button.btn.btn-default#load-more-btn{ type: :button, data: { last_id: @timeline_last_id } }
Load more
- provide(:title, generate_title('Public Timeline'))
- parent_layout 'feed'