Retrospring/app/views/static/index.haml

12 lines
406 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, "#{APP_CONFIG['site_name']}")
- parent_layout "feed"