Retrospring/app/views/static/index.haml

13 lines
396 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
2020-04-25 09:23:02 -07:00
- if @more_data_available
2020-05-09 23:40:32 -07:00
%button.btn.btn-default#load-more-btn{ type: :button, data: { last_id: @timeline_last_id } }
Load more
2020-04-25 09:23:02 -07:00
2020-05-09 23:40:32 -07:00
- provide(:title, APP_CONFIG['site_name'])
- parent_layout 'feed'