Retrospring/app/views/public/index.haml

12 lines
411 B
Plaintext
Raw Normal View History

2020-04-25 09:23:02 -07:00
#timeline
- @timeline.each do |answer|
2020-04-26 08:13:31 -07:00
= render 'answerbox', a: answer
2020-04-25 09:23:02 -07:00
= render 'shared/cursored_pagination_dummy', more_data_available: @more_data_available, last_id: @timeline_last_id
- if @more_data_available
%button#load-more-btn.btn.btn-default{type: :button, data: { last_id: @timeline_last_id }}
Load more
- provide(:title, generate_title("Public Timeline"))
- parent_layout "feed"