retrospring/app/views/user/show.html.haml

17 lines
558 B
Text
Raw Normal View History

2014-11-02 20:29:01 +01:00
.container.j2-page
2014-11-02 17:57:37 +01:00
.col-md-3.col-xs-12.col-sm-3
2014-12-08 17:03:06 +01:00
= render 'user/profile_info'
2014-11-24 17:52:58 +01:00
.hidden-xs= render 'shared/links'
2014-11-02 17:57:37 +01:00
.col-md-9.col-xs-12.col-sm-9
2014-11-12 20:40:24 +01:00
= render 'shared/questionbox'
2014-12-08 15:23:04 +01:00
#answers
- @answers.each do |a|
= render 'shared/answerbox', a: a
#pagination= will_paginate @answers, renderer: BootstrapPagination::Rails, page_links: false
- if @answers.next_page
2014-12-08 16:01:27 +01:00
%button#load-more-btn.btn.btn-default{type: :button, data: { current_page: @answers.current_page }}
2014-12-08 15:23:04 +01:00
Load more
2014-11-24 17:52:58 +01:00
.visible-xs= render 'shared/links'