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

12 lines
381 B
Plaintext

#questions
- @questions.each do |q|
= render 'shared/question', q: q, type: nil
- if @more_data_available
.d-flex.justify-content-center.justify-content-sm-start#paginator
= button_to show_user_questions_path(@user, last_id: @questions_last_id), class: "btn btn-light" do
= t("voc.load")
- provide(:title, questions_title(@user))
- parent_layout 'user/profile'