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

20 lines
651 B
Plaintext
Raw Normal View History

- provide(:title, group_title(@group))
2015-01-30 13:55:29 -08:00
= render 'static/mobile_nav'
2015-01-13 04:23:12 -08:00
.container.j2-page
2020-04-19 14:12:23 -07:00
.row
.col-md-3.col-sm-4
= render 'shared/sidebar'
.col-md-9.col-xs-12.col-sm-8.j2-col-reset
= render 'layouts/messages'
2015-01-13 04:23:12 -08:00
2020-04-19 14:12:23 -07:00
#timeline
- @timeline.each do |answer|
= render 'shared/answerbox', a: answer
2015-01-13 04:23:12 -08:00
2020-04-19 14:12:23 -07:00
#pagination= will_paginate @timeline, renderer: BootstrapPagination::Rails, page_links: false
2015-01-13 04:23:12 -08:00
2020-04-19 14:12:23 -07:00
- if @timeline.next_page
%button#load-more-btn.btn.btn-default{type: :button, data: { current_page: @timeline.current_page }}
= t 'views.actions.load'
.d-block.d-sm-none= render 'shared/links'