Actually fixes Retrospring/bugs#25
This commit is contained in:
parent
5764c36b32
commit
f4b5289d3a
|
@ -5,15 +5,16 @@
|
||||||
.hidden-xs= render 'shared/links'
|
.hidden-xs= render 'shared/links'
|
||||||
.col-md-9.col-xs-12.col-sm-8.j2-col-reset
|
.col-md-9.col-xs-12.col-sm-8.j2-col-reset
|
||||||
= render 'shared/questionbox'
|
= render 'shared/questionbox'
|
||||||
#answers
|
= unless @user.banned?
|
||||||
- @answers.each do |a|
|
#answers
|
||||||
= render 'shared/answerbox', a: a
|
- @answers.each do |a|
|
||||||
|
= render 'shared/answerbox', a: a
|
||||||
|
|
||||||
#pagination= will_paginate @answers, renderer: BootstrapPagination::Rails, page_links: false
|
#pagination= will_paginate @answers, renderer: BootstrapPagination::Rails, page_links: false
|
||||||
|
|
||||||
- if @answers.next_page
|
- if @answers.next_page
|
||||||
%button#load-more-btn.btn.btn-default{type: :button, data: { current_page: @answers.current_page }}
|
%button#load-more-btn.btn.btn-default{type: :button, data: { current_page: @answers.current_page }}
|
||||||
Load more
|
Load more
|
||||||
.visible-xs= render 'shared/links'
|
.visible-xs= render 'shared/links'
|
||||||
- if user_signed_in?
|
- if user_signed_in?
|
||||||
= render 'user/modal_group_memberships'
|
= render 'user/modal_group_memberships'
|
||||||
|
|
Loading…
Reference in New Issue