Retrospring/app/views/public/index.html.haml

17 lines
519 B
Plaintext
Raw Normal View History

2014-12-10 21:39:35 -08:00
.container.j2-page
2014-12-12 08:43:32 -08:00
.col-md-3.col-sm-3
2015-01-13 04:23:12 -08:00
= render 'shared/sidebar'
2014-12-10 21:39:35 -08:00
.col-md-9.col-xs-12.col-sm-9
= render 'layouts/messages'
#timeline
- @timeline.each do |answer|
= render 'shared/answerbox', a: answer
#pagination= will_paginate @timeline, renderer: BootstrapPagination::Rails, page_links: false
- if @timeline.next_page
%button#load-more-btn.btn.btn-default{type: :button, data: { current_page: @timeline.current_page }}
Load more
.visible-xs= render 'shared/links'