Retrospring/app/views/user/questions.html.haml

18 lines
572 B
Plaintext

.profile--header
.container.j2-page
.col-md-3.col-xs-12.col-sm-3
= render 'user/profile_info'
.hidden-xs= render 'shared/links'
.col-md-9.col-xs-12.col-sm-9
%h1.j2-lh= @title
#questions
- @questions.each do |q|
= render 'shared/question', q: q
#pagination= will_paginate @questions, renderer: BootstrapPagination::Rails, page_links: false
- if @questions.next_page
%button#load-more-btn.btn.btn-default{type: :button, data: { current_page: @questions.current_page }}
Load more
.visible-xs= render 'shared/links'