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

15 lines
461 B
Text
Raw Permalink Normal View History

2022-09-08 00:48:01 +02:00
#questions
- @questions.each do |q|
= render 'shared/question', q: q, type: nil
2020-04-25 17:21:39 +02:00
2022-09-08 00:48:01 +02:00
- if @more_data_available
.d-flex.justify-content-center.justify-content-sm-start#paginator
2023-01-21 20:04:55 +01:00
= button_to t("voc.load"), show_user_questions_path(@user),
class: "btn btn-light",
method: :get,
params: { last_id: @questions_last_id },
form: { data: { turbo_stream: true } }
2020-04-25 17:21:39 +02:00
- provide(:title, questions_title(@user))
2020-05-10 09:08:58 +02:00
- parent_layout 'user/profile'