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